poa-bridge/bridge/src/bridge
Yurii Rashkovskii 072291813c
Problem: withdraw_confirm failure
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 })
```

Solution: sign messages locally

Closes #49
2018-04-28 15:50:25 -07:00
..
balance.rs Problem: bridge crashes with insufficient balance 2018-04-04 10:42:16 +04:00
chain_id.rs Problem: sending unsigned transactions over API 2018-04-26 17:50:07 -07:00
deploy.rs Problem: sending unsigned transactions over API 2018-04-26 17:50:07 -07:00
deposit_relay.rs Problem: sending unsigned transactions over API 2018-04-26 17:50:07 -07:00
mod.rs Problem: sending unsigned transactions over API 2018-04-26 17:50:07 -07:00
nonce.rs Problem: sending unsigned transactions over API 2018-04-26 17:50:07 -07:00
withdraw_confirm.rs Problem: withdraw_confirm failure 2018-04-28 15:50:25 -07:00
withdraw_relay.rs Problem: sending unsigned transactions over API 2018-04-26 17:50:07 -07:00