omni / poa-bridge

POA <-> Ethereum bridge for self transfers of POA native token to POA20 (ERC20 representation). Not supported. Use TokenBridge instead
https://github.com/poanetwork/token-bridge
GNU General Public License v3.0
79 stars 38 forks source link

Add a warning log message every time when new nonce is being looked for prior to send a transaction #65

Open akolotov opened 6 years ago

akolotov commented 6 years ago

Now new nonce is being looked for silently:

https://github.com/poanetwork/poa-bridge/blob/83eeb9d51bbf7c0d112ddacb8179e4b730486ced/bridge/src/bridge/nonce.rs#L107-L110

So, we will not see reasons why sending of transaction could hang for some time due to a reason of incorrect nonce. That's why a warning message needs to be added to inform about this incorrect situation.