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

Commit c689136

Browse files
author
Tyler Smith
authored
Merge pull request #281 from jackkleeman/patch-1
Remove duplicate set of order.RefundAddress
2 parents 076c40a + 5cd19f4 commit c689136

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

core/order.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,6 @@ func (n *OpenBazaarNode) Purchase(data *PurchaseData) (orderId string, paymentAd
120120
ratingKeys = append(ratingKeys, ecRatingKey.SerializeCompressed())
121121
}
122122
order.RatingKeys = ratingKeys
123-
refundAddr := n.Wallet.CurrentAddress(spvwallet.EXTERNAL)
124-
order.RefundAddress = refundAddr.EncodeAddress()
125123

126124
var addedListings [][]string
127125
for _, item := range data.Items {

0 commit comments

Comments
 (0)