Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions contrib/assets_tutorial/assets_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ def sync_all(e1, e2):
assetentry = "-assetdir="+asset+":namedasset"
# Wallet labels have no consensus meaning, only local node/wallet meaning

# Having issues with mempool sync?
sync_all(e1, e2)
e1.stop()
time.sleep(5)
Expand All @@ -247,7 +246,7 @@ def sync_all(e1, e2):
e1.getwalletinfo()

# To send issued assets, add an additional argument to sendtoaddress using the hex or label
e1.sendtoaddress(e2.getnewaddress(), 1, "", "", False, issue["asset"])#"namedasset")
e1.sendtoaddress(e2.getnewaddress(), 1, "", "", False, "namedasset")
# Reissuance tokens can also be sent like any other asset
e1.sendtoaddress(e2.getnewaddress(), 1, "", "", False, issue["token"])
sync_all(e1, e2)
Expand All @@ -256,7 +255,7 @@ def sync_all(e1, e2):
e2.generate(1)
sync_all(e1, e2)

# e2 doesn't know about the issuance for the transaction sending him the new asset
# e2 maybe doesn't know about the issuance for the transaction sending him the new asset
e2.listissuances()

# let's import an associated address(so the wallet captures issuance transaction) and rescan
Expand Down