bigchaindb / bigchaindb-driver

Official Python driver for BigchainDB
https://www.bigchaindb.com
Apache License 2.0
104 stars 104 forks source link

name ‘signed_tx’ is not defined #486

Closed NanPhi closed 5 years ago

NanPhi commented 5 years ago

I followed instruction listed on http://docs.bigchaindb.com/projects/py-driver/en/latest/usage.html When I ran

Retrieve the block height

>>> block_height = bdb.blocks.get(txid=signed_tx['id'])

to check if a transaction was sent successfully, it outputs a NameError of name 'signed_tx' is not defined