From 8c61bb27b74414fb0fc06cad5deb99fc2df3232e Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Sat, 30 Dec 2017 17:25:43 -0500 Subject: [PATCH] fix nano test --- nano/keys_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nano/keys_test.go b/nano/keys_test.go index 2e5142e30..fda096e29 100644 --- a/nano/keys_test.go +++ b/nano/keys_test.go @@ -83,7 +83,7 @@ func TestRealLedger(t *testing.T) { } msg := []byte("kuhehfeohg") - priv, err := NewPrivKeyLedgerEd25519Ed25519() + priv, err := NewPrivKeyLedgerEd25519() require.Nil(err, "%+v", err) pub := priv.PubKey() sig := priv.Sign(msg) @@ -123,7 +123,7 @@ func TestRealLedgerErrorHandling(t *testing.T) { // first, try to generate a key, must return an error // (no panic) - _, err := NewPrivKeyLedgerEd25519Ed25519() + _, err := NewPrivKeyLedgerEd25519() require.Error(err) led := PrivKeyLedgerEd25519{} // empty