aboutsummaryrefslogtreecommitdiffstats
path: root/whisper
diff options
context:
space:
mode:
authorthomasmodeneis <thomas.modeneis@gmail.com>2018-04-18 06:53:50 +0800
committerFelix Lange <fjl@users.noreply.github.com>2018-04-18 06:53:50 +0800
commitba1030b6b84f810c04a82221a1b1c0a3dbf499a8 (patch)
tree9c3450535acddfec3b1987e0a2e04fa9ca303e38 /whisper
parent7605e63cb9dda7fc5bb619abf1eb1f74ac3f6cc1 (diff)
downloadgo-tangerine-ba1030b6b84f810c04a82221a1b1c0a3dbf499a8.tar
go-tangerine-ba1030b6b84f810c04a82221a1b1c0a3dbf499a8.tar.gz
go-tangerine-ba1030b6b84f810c04a82221a1b1c0a3dbf499a8.tar.bz2
go-tangerine-ba1030b6b84f810c04a82221a1b1c0a3dbf499a8.tar.lz
go-tangerine-ba1030b6b84f810c04a82221a1b1c0a3dbf499a8.tar.xz
go-tangerine-ba1030b6b84f810c04a82221a1b1c0a3dbf499a8.tar.zst
go-tangerine-ba1030b6b84f810c04a82221a1b1c0a3dbf499a8.zip
build: enable goimports and varcheck linters (#16446)
Diffstat (limited to 'whisper')
-rw-r--r--whisper/whisperv5/api.go4
-rw-r--r--whisper/whisperv6/api.go4
2 files changed, 0 insertions, 8 deletions
diff --git a/whisper/whisperv5/api.go b/whisper/whisperv5/api.go
index ee566625c..9fb22aa75 100644
--- a/whisper/whisperv5/api.go
+++ b/whisper/whisperv5/api.go
@@ -32,10 +32,6 @@ import (
"github.com/ethereum/go-ethereum/rpc"
)
-const (
- filterTimeout = 300 // filters are considered timeout out after filterTimeout seconds
-)
-
var (
ErrSymAsym = errors.New("specify either a symmetric or an asymmetric key")
ErrInvalidSymmetricKey = errors.New("invalid symmetric key")
diff --git a/whisper/whisperv6/api.go b/whisper/whisperv6/api.go
index 3f3a082af..3f25785fe 100644
--- a/whisper/whisperv6/api.go
+++ b/whisper/whisperv6/api.go
@@ -32,10 +32,6 @@ import (
"github.com/ethereum/go-ethereum/rpc"
)
-const (
- filterTimeout = 300 // filters are considered timeout out after filterTimeout seconds
-)
-
// List of errors
var (
ErrSymAsym = errors.New("specify either a symmetric or an asymmetric key")