Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion db/dcrpg/queries.go
Original file line number Diff line number Diff line change
Expand Up @@ -4027,7 +4027,7 @@ func parseRowsSentReceived(rows *sql.Rows) (*dbtypes.ChartsData, error) {
// given block. If the difference is positive then the value is unspent amount
// otherwise if the value is zero then all amount is spent and if the net amount
// is negative then for the given block more amount was sent than received.
items.Net = append(items.Net, toCoin(received-sent))
items.Net = append(items.Net, toCoin(int64(received)-int64(sent)))
}
if err := rows.Err(); err != nil {
return nil, err
Expand Down