Closed jseagrave21 closed 5 years ago
This issue has been addressed! :tada:
asset = GetBlockchain().GetAssetState(key.ToBytes()) if asset is None: raise Exception("Invalid operation")
I also met this situation.Using Local Private NET。s ettings.setup_privnet(host="192.168.0.106")
but ......
Current behavior
NOTE: This issue is carried over from an unresolved issue from #dev-general on Discord
User @amir reported receiving this error while trying to build a raw transaction per the example:
After investigating, I found the problem here: https://github.com/CityOfZion/neo-python/blob/f003f0a66cdd10cef91f30a6cda5549844ebd013/neo/Core/TX/Transaction.py#L719-L721
Expected behavior
Building a raw transaction to relay via RPC method
sendrawtransaction
should not rely on an active blockchain instance.How to reproduce
Run
example1
orexample2
without a blockchain db activate in the environment.Your environment