commit 7f58e23ed98a9ee4b71c70a6e30c7bdb3094f23b
parent 70af22c9e47df39b987d170ad0a5b2fd13e42ce8
Author: ThomasV <thomasv@electrum.org>
Date: Tue, 12 Sep 2017 15:05:48 +0200
python3 update
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/paymentrequest.py b/lib/paymentrequest.py
@@ -273,7 +273,7 @@ class PaymentRequest:
paymnt.merchant_data = pay_det.merchant_data
paymnt.transactions.append(bfh(raw_tx))
ref_out = paymnt.refund_to.add()
- ref_out.script = transaction.Transaction.pay_script(TYPE_ADDRESS, refund_addr)
+ ref_out.script = util.bfh(transaction.Transaction.pay_script(TYPE_ADDRESS, refund_addr))
paymnt.memo = "Paid using Electrum"
pm = paymnt.SerializeToString()
payurl = urllib.parse.urlparse(pay_det.payment_url)