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

Check isValidator before calling any transaction #28

Open rstormsf opened 6 years ago

rstormsf commented 6 years ago

Rust side needs to call isValidator before making any transactions to make sure that account that it's running is valid. It needs to call BridgeValidators's contract address which should exists in both sides(Home and Foreign)