oraclesorg / oracles-contract

New version of POA Network consensus contracts is here: https://github.com/poanetwork/poa-network-consensus-contracts
MIT License
24 stars 8 forks source link

addInitialKey should check for key uniqueness #13

Closed lorien closed 6 years ago

lorien commented 6 years ago

I think it is better idea to check that key has not been added already: https://github.com/oraclesorg/oracles-contract/blob/master/src/KeysManager.sol#L22