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.
2 parents 816585d + 437e1e7 commit 9c06762Copy full SHA for 9c06762
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,
214
- # which are split between the "addresses" and "nonce" field
215
- address = out["scriptPubKey"]["addresses"][0]
+ # The rawtransaction API requires that we reconstruct the blinded address,
+ # which is split between the "address" and "nonce" (blinding pubkey) fields
+ address = out["scriptPubKey"]["address"]
216
if "commitmentnonce" in out:
217
address = alice.createblindedaddress(address, out["commitmentnonce"])
218
0 commit comments