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
80 stars 39 forks source link

Bridge should stop if json keystore file is invalid #47

Open rstormsf opened 6 years ago

rstormsf commented 6 years ago
NFO:bridge:   using RPC connection
WARN:ethstore::accounts_dir::disk: Invalid key file: "keys/authority.json" (ErrorImpl { code: Message("Invalid hash"), line: 1, column: 111 })
WARN:ethstore::accounts_dir::disk: Invalid key file: "keys/authority.json" (ErrorImpl { code: Message("Invalid hash"), line: 1, column: 111 })
INFO:bridge: Acquiring home & foreign chain ids
INFO:bridge: Home chain ID: 77 Foreign chain ID: 42
INFO:bridge: Deploying contracts (if needed)
INFO:bridge: Loaded database
INFO:bridge: Starting listening to events
INFO:bridge::bridge: Retrieved home contract balance
INFO:bridge::bridge: Retrieved foreign contract balance

bridge should be stopped if keystore is missing/invalid