pecu / SCoin

Soochow University Coin (IOTA)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Handle error if node is unavailable

StillFantastic opened this issue · comments

For example, hash_bundle = "" will be returned when there is an error occurred during the interaction with the node, and it can lead to further error.

hash_bundle = send_transfer(data, receiver_address)

The status of public-chain changeable, you could use a async-queue to cache the transactions and process any troubleshooting. Refer the code segment for detail: link