Change ECRecovery recover method's visibility to internal (#818)

* Change ECRecovery recover method's visibility to internal

* Adopt the test

* Remove unused imports
This commit is contained in:
Chenyang Wu
2018-03-21 17:38:31 -07:00
committed by Facundo Spagnuolo
parent b33260ac44
commit e299a7950e
2 changed files with 1 additions and 4 deletions

View File

@ -1,5 +1,4 @@
var ECRecoveryMock = artifacts.require('ECRecoveryMock');
var ECRecoveryLib = artifacts.require('ECRecovery');
var hashMessage = require('../helpers/hashMessage.js');
@ -8,8 +7,6 @@ contract('ECRecovery', function (accounts) {
const TEST_MESSAGE = 'OpenZeppelin';
before(async function () {
const ecRecoveryLib = await ECRecoveryLib.new();
ECRecoveryMock.link('ECRecovery', ecRecoveryLib.address);
ecrecovery = await ECRecoveryMock.new();
});