mirror of
https://github.com/status-im/whisper.git
synced 2025-02-08 00:45:48 +00:00
build: enable goimports and varcheck linters (#16446)
This commit is contained in:
parent
67e431d5be
commit
3e994ca586
@ -32,10 +32,6 @@ import (
|
|||||||
"github.com/ethereum/go-ethereum/rpc"
|
"github.com/ethereum/go-ethereum/rpc"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
|
||||||
filterTimeout = 300 // filters are considered timeout out after filterTimeout seconds
|
|
||||||
)
|
|
||||||
|
|
||||||
var (
|
var (
|
||||||
ErrSymAsym = errors.New("specify either a symmetric or an asymmetric key")
|
ErrSymAsym = errors.New("specify either a symmetric or an asymmetric key")
|
||||||
ErrInvalidSymmetricKey = errors.New("invalid symmetric key")
|
ErrInvalidSymmetricKey = errors.New("invalid symmetric key")
|
||||||
|
@ -32,10 +32,6 @@ import (
|
|||||||
"github.com/ethereum/go-ethereum/rpc"
|
"github.com/ethereum/go-ethereum/rpc"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
|
||||||
filterTimeout = 300 // filters are considered timeout out after filterTimeout seconds
|
|
||||||
)
|
|
||||||
|
|
||||||
// List of errors
|
// List of errors
|
||||||
var (
|
var (
|
||||||
ErrSymAsym = errors.New("specify either a symmetric or an asymmetric key")
|
ErrSymAsym = errors.New("specify either a symmetric or an asymmetric key")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user