Skip to content

Commit 5feef80

Browse files
authored
Merge pull request #3 from filecoin-saturn/display-total-leftover
Include unapplied adjustments in total leftover amount
2 parents f412df4 + 7fdd1f7 commit 5feef80

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

deduct.go

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ func deduct(csv1Path, csv2Path string, top2 int) error {
3434
for addr, over := range overpaid {
3535
payout, ok := payouts[addr]
3636
if !ok {
37+
leftover.Add(&leftover, over.fil)
3738
fmt.Println("Overpaid address", addr, "not found in payouts")
3839
continue
3940
}

0 commit comments

Comments
 (0)