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

Commit c967177

Browse files
committed
Add payout currency to dispute resolution payout
1 parent 257a3e8 commit c967177

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

core/disputes.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,11 @@ func (n *OpenBazaarNode) CloseDispute(orderID string, buyerPercentage, vendorPer
742742
}
743743
}
744744

745+
payout.PayoutCurrency = &pb.CurrencyDefinition{
746+
Code: preferredOrder.Payment.AmountCurrency.Code,
747+
Divisibility: preferredOrder.Payment.AmountCurrency.Divisibility,
748+
}
749+
745750
d.Payout = payout
746751

747752
rc := new(pb.RicardianContract)

0 commit comments

Comments
 (0)