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

Commit 10aca03

Browse files
committed
Remove price currency
1 parent 008ecc0 commit 10aca03

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

core/order.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -991,10 +991,6 @@ func (n *OpenBazaarNode) CheckoutBreakdown(data *repo.PurchaseData) (repo.Checko
991991
checkoutBreakdown.Coupon = finalCouponDiscount.Amount.String()
992992
checkoutBreakdown.OptionSurcharge = finalOptionSurcharge.Amount.String()
993993
checkoutBreakdown.BasePrice = finalBasePrice.Amount.String()
994-
checkoutBreakdown.PriceCurrency = repo.CheckoutCurrency{
995-
Code: itemOriginAmt.Currency.Code.String(),
996-
Divisibility: int(itemOriginAmt.Currency.Divisibility),
997-
}
998994
checkoutBreakdown.TotalPrice = totalPrice.String()
999995
checkoutBreakdown.Quantity = totalQuantity.String()
1000996

0 commit comments

Comments
 (0)