From 6346cc5105fe50d2869f188977a0eb0ae8688323 Mon Sep 17 00:00:00 2001 From: Samuel Hawksby-Robinson Date: Thu, 30 Apr 2020 11:57:20 +0100 Subject: [PATCH] More offerings to the lint gods --- waku/common/message_test.go | 3 ++- waku/v0_test.go | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/waku/common/message_test.go b/waku/common/message_test.go index 895c4682a..ebb78bdb6 100644 --- a/waku/common/message_test.go +++ b/waku/common/message_test.go @@ -22,11 +22,12 @@ import ( "bytes" "crypto/aes" "crypto/cipher" - "github.com/stretchr/testify/require" mrand "math/rand" "testing" "time" + "github.com/stretchr/testify/require" + "github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/rlp" diff --git a/waku/v0_test.go b/waku/v0_test.go index 40f80ecd1..72d6cb9be 100644 --- a/waku/v0_test.go +++ b/waku/v0_test.go @@ -103,9 +103,7 @@ var unexpectedMessage = []byte("per rectum ad astra") var masterBloomFilter []byte var masterPow = 0.00000001 var round = 1 -var debugMode = false var prevTime time.Time -var cntPrev int func TestSimulationBloomFilter(t *testing.T) { // create a chain of waku nodes,