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
This commit is contained in:
committed by
Péter Szilágyi
parent
eb7f901289
commit
5d30be412b
@ -25,8 +25,8 @@ import (
|
||||
"sync"
|
||||
"sync/atomic"
|
||||
|
||||
mapset "github.com/deckarep/golang-set"
|
||||
"github.com/ethereum/go-ethereum/log"
|
||||
"gopkg.in/fatih/set.v0"
|
||||
)
|
||||
|
||||
const MetadataApi = "rpc"
|
||||
@ -46,7 +46,7 @@ const (
|
||||
func NewServer() *Server {
|
||||
server := &Server{
|
||||
services: make(serviceRegistry),
|
||||
codecs: set.New(),
|
||||
codecs: mapset.NewSet(),
|
||||
run: 1,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user