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

Commit 63f0801

Browse files
committed
fix the payouts
1 parent f74c759 commit 63f0801

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
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,

vendor/github.com/OpenBazaar/go-ethwallet/wallet/wallet.go

Lines changed: 7 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)