Removed ECRecovery mock contract, ECRecovery funcions are public constants
This commit is contained in:
committed by
Francisco Giordano
parent
227c7aae0f
commit
635c04378d
@ -1,20 +0,0 @@
|
||||
pragma solidity ^0.4.11;
|
||||
|
||||
|
||||
import '../../contracts/ECRecovery.sol';
|
||||
|
||||
|
||||
contract ECRecoveryMock {
|
||||
|
||||
bool public result;
|
||||
address public signer;
|
||||
|
||||
function safeRecover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) {
|
||||
(result, signer) = ECRecovery.safeRecover(hash, v, r, s);
|
||||
}
|
||||
|
||||
function recover(bytes32 hash, bytes sig) {
|
||||
signer = ECRecovery.recover(hash, sig);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user