aboutsummaryrefslogtreecommitdiffstats
path: root/whisper/whisperv5/whisper_test.go
diff options
context:
space:
mode:
authorBas van Kervel <basvankervel@gmail.com>2017-06-21 16:32:36 +0800
committerBas van Kervel <basvankervel@gmail.com>2017-06-21 16:32:36 +0800
commit4a1d516d78f61937d850c6622bc26955b5103a23 (patch)
tree43146430e1f427bce080c5a271167e4837e6e47b /whisper/whisperv5/whisper_test.go
parentb6b0e0019810dd5fad992891c5db051b8603292d (diff)
downloadgo-tangerine-4a1d516d78f61937d850c6622bc26955b5103a23.tar
go-tangerine-4a1d516d78f61937d850c6622bc26955b5103a23.tar.gz
go-tangerine-4a1d516d78f61937d850c6622bc26955b5103a23.tar.bz2
go-tangerine-4a1d516d78f61937d850c6622bc26955b5103a23.tar.lz
go-tangerine-4a1d516d78f61937d850c6622bc26955b5103a23.tar.xz
go-tangerine-4a1d516d78f61937d850c6622bc26955b5103a23.tar.zst
go-tangerine-4a1d516d78f61937d850c6622bc26955b5103a23.zip
whisper: renamed errors
Diffstat (limited to 'whisper/whisperv5/whisper_test.go')
-rw-r--r--whisper/whisperv5/whisper_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/whisper/whisperv5/whisper_test.go b/whisper/whisperv5/whisper_test.go
index 4c03cb234..145143833 100644
--- a/whisper/whisperv5/whisper_test.go
+++ b/whisper/whisperv5/whisper_test.go
@@ -18,10 +18,10 @@ package whisperv5
import (
"bytes"
+ "crypto/ecdsa"
mrand "math/rand"
"testing"
"time"
- "crypto/ecdsa"
)
func TestWhisperBasic(t *testing.T) {
@@ -120,11 +120,11 @@ func TestWhisperBasic(t *testing.T) {
func TestWhisperAsymmetricKeyImport(t *testing.T) {
var (
- w = New(&DefaultConfig)
+ w = New(&DefaultConfig)
privateKeys []*ecdsa.PrivateKey
)
- for i:=0; i < 50; i++ {
+ for i := 0; i < 50; i++ {
id, err := w.NewKeyPair()
if err != nil {
t.Fatalf("could not generate key: %v", err)