aboutsummaryrefslogtreecommitdiffstats
path: root/core/authenticator_test.go
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2018-09-26 17:13:37 +0800
committerGitHub <noreply@github.com>2018-09-26 17:13:37 +0800
commit7450e6ba7f7299d03b04a7e2a9b3bc5911b94cfe (patch)
tree41b823a05f81615558a37567dab85e2958b59329 /core/authenticator_test.go
parent663817d3e0d5a3c28cb0c5e378a533e242af5fdf (diff)
downloaddexon-consensus-7450e6ba7f7299d03b04a7e2a9b3bc5911b94cfe.tar
dexon-consensus-7450e6ba7f7299d03b04a7e2a9b3bc5911b94cfe.tar.gz
dexon-consensus-7450e6ba7f7299d03b04a7e2a9b3bc5911b94cfe.tar.bz2
dexon-consensus-7450e6ba7f7299d03b04a7e2a9b3bc5911b94cfe.tar.lz
dexon-consensus-7450e6ba7f7299d03b04a7e2a9b3bc5911b94cfe.tar.xz
dexon-consensus-7450e6ba7f7299d03b04a7e2a9b3bc5911b94cfe.tar.zst
dexon-consensus-7450e6ba7f7299d03b04a7e2a9b3bc5911b94cfe.zip
crypto: sigtopub to crypto package. remove SigToPubFn (#141)
Diffstat (limited to 'core/authenticator_test.go')
-rw-r--r--core/authenticator_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/authenticator_test.go b/core/authenticator_test.go
index 40b5e0c..08a9179 100644
--- a/core/authenticator_test.go
+++ b/core/authenticator_test.go
@@ -34,7 +34,7 @@ type AuthenticatorTestSuite struct {
func (s *AuthenticatorTestSuite) setupAuthenticator() *Authenticator {
k, err := eth.NewPrivateKey()
s.NoError(err)
- return NewAuthenticator(k, eth.SigToPub)
+ return NewAuthenticator(k)
}
func (s *AuthenticatorTestSuite) TestBlock() {