mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
python tutorial: gettransaction needs optional include_watchonly arg
This commit is contained in:
parent
b947fa5788
commit
1a4e2b4082
1 changed files with 2 additions and 2 deletions
|
|
@ -193,11 +193,11 @@ e2.importaddress(blinded_addr)
|
|||
# 5) Now the address can be funded, though e2 will not be able to see values
|
||||
txid = e1.sendtoaddress(blinded_addr, 1)
|
||||
sync_all(e1, e2)
|
||||
e2.gettransaction(txid)
|
||||
e2.gettransaction(txid, True)
|
||||
|
||||
# 6) Import the blinding privkey and decode the values
|
||||
e2.importblindingkey(blinded_addr, blindingkey)
|
||||
e2.gettransaction(txid)
|
||||
e2.gettransaction(txid, True)
|
||||
|
||||
###### ASSETS #######
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue