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

'withdraw confirm' does not work if the remote node has no account unlocked #49

Closed akolotov closed 6 years ago

akolotov commented 6 years ago

If a node configured as Foreign for the bridge and it has no validator account unlocked the bridge crashes and produces the following message:

INFO:bridge::bridge::withdraw_confirm: got 1 new withdraws to sign
INFO:bridge::bridge::withdraw_confirm: withdraw is ready for signature submission. tx hash 0x6493…4fa8
INFO:bridge::bridge::withdraw_confirm: signing
WARN:bridge: Bridge crashed with Error(Transport("Unexpected response status code: 405 Method Not Allowed"), State { next_error: None, backtrace: None })
Error(Transport("Unexpected response status code: 405 Method Not Allowed"), State { next_error: None, backtrace: None })