Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit c4385f6

Browse files
committed
dont collect zero value outputs
1 parent 63f0801 commit c4385f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/disputes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ func (n *OpenBazaarNode) CloseDispute(orderID string, buyerPercentage, vendorPer
585585
if err != nil {
586586
return err
587587
}
588-
if modValue.Cmp(big.NewInt(0)) >= 0 {
588+
if modValue.Cmp(big.NewInt(0)) > 0 {
589589
out := wallet.TransactionOutput{
590590
Address: modAddr,
591591
Value: *modValue,

0 commit comments

Comments
 (0)