aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/types.go
diff options
context:
space:
mode:
authorRalph Caraveo III <deckarep@gmail.com>2018-07-16 15:54:19 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-07-16 15:54:19 +0800
commit5d30be412b0f9181cb007c8893ee583ee4319116 (patch)
tree4593b259665d22c552cc869f08317305119a99e0 /rpc/types.go
parenteb7f901289dce3f9fe3341da8c0b938ea839f79d (diff)
downloaddexon-5d30be412b0f9181cb007c8893ee583ee4319116.tar
dexon-5d30be412b0f9181cb007c8893ee583ee4319116.tar.gz
dexon-5d30be412b0f9181cb007c8893ee583ee4319116.tar.bz2
dexon-5d30be412b0f9181cb007c8893ee583ee4319116.tar.lz
dexon-5d30be412b0f9181cb007c8893ee583ee4319116.tar.xz
dexon-5d30be412b0f9181cb007c8893ee583ee4319116.tar.zst
dexon-5d30be412b0f9181cb007c8893ee583ee4319116.zip
all: switch out defunct set library to different one (#16873)
* keystore, ethash, eth, miner, rpc, whisperv6: tech debt with now defunct set. * whisperv5: swap out gopkg.in/fatih/set.v0 with supported set
Diffstat (limited to 'rpc/types.go')
-rw-r--r--rpc/types.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpc/types.go b/rpc/types.go
index f2375604e..4252c3602 100644
--- a/rpc/types.go
+++ b/rpc/types.go
@@ -23,8 +23,8 @@ import (
"strings"
"sync"
+ mapset "github.com/deckarep/golang-set"
"github.com/ethereum/go-ethereum/common/hexutil"
- "gopkg.in/fatih/set.v0"
)
// API describes the set of methods offered over the RPC interface
@@ -73,7 +73,7 @@ type Server struct {
run int32
codecsMu sync.Mutex
- codecs *set.Set
+ codecs mapset.Set
}
// rpcRequest represents a raw incoming RPC request