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

Change to v5 order amount #2091

Merged
merged 1 commit into from
Jul 1, 2020
Merged
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 core/order.go
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ func (n *OpenBazaarNode) CheckoutBreakdown(data *repo.PurchaseData) (repo.Checko
}

// Coupon Codes Discount
listingCurDef, err := n.LookupCurrency(contract.VendorListings[0].Item.PriceCurrency.Code)
listingCurDef, err := n.LookupCurrency(v5Order.Payment.AmountCurrency.Code)
if err != nil {
return emptyCheckoutBreakdown, err
}
Expand Down