Skip to content

Commit

Permalink
python assets tutorial clarifications and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
instagibbs committed Aug 4, 2017
1 parent cf9efd8 commit e624ab0
Showing 1 changed file with 2 additions and 3 deletions.
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

0 comments on commit e624ab0

Please sign in to comment.