We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 816585d commit 79fc256Copy full SHA for 79fc256
contrib/assets_tutorial/pset_swap_tutorial.py
@@ -210,9 +210,9 @@
210
elif out in decoded_c["vout"]:
211
blinder_idx = carol_idx
212
213
- # The crappy rawtransaction API requires that we reconstruct blinded addresses,
+ # The rawtransaction API requires that we reconstruct blinded addresses,
214
# which are split between the "addresses" and "nonce" field
215
- address = out["scriptPubKey"]["addresses"][0]
+ address = out["scriptPubKey"]["address"]
216
if "commitmentnonce" in out:
217
address = alice.createblindedaddress(address, out["commitmentnonce"])
218
0 commit comments