aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/network/simulations
diff options
context:
space:
mode:
authorAnton Evangelatov <anton.evangelatov@gmail.com>2018-11-21 21:36:56 +0800
committerGitHub <noreply@github.com>2018-11-21 21:36:56 +0800
commit4c181e4fb98bb88503cccd6147026b6c2b7b56f6 (patch)
tree48fa84c1fafd579b6df86e3585ed903b461e4734 /swarm/network/simulations
parent3fd87f219342ca97a6595263a2aa28bec65fee04 (diff)
downloaddexon-4c181e4fb98bb88503cccd6147026b6c2b7b56f6.tar.gz
dexon-4c181e4fb98bb88503cccd6147026b6c2b7b56f6.tar.zst
dexon-4c181e4fb98bb88503cccd6147026b6c2b7b56f6.zip
swarm/state: refactor InmemoryStore (#18143)
Diffstat (limited to 'swarm/network/simulations')
-rw-r--r--swarm/network/simulations/overlay.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/swarm/network/simulations/overlay.go b/swarm/network/simulations/overlay.go
index caf7ff1f2..284ae6398 100644
--- a/swarm/network/simulations/overlay.go
+++ b/swarm/network/simulations/overlay.go
@@ -64,12 +64,12 @@ func init() {
type Simulation struct {
mtx sync.Mutex
- stores map[enode.ID]*state.InmemoryStore
+ stores map[enode.ID]state.Store
}
func NewSimulation() *Simulation {
return &Simulation{
- stores: make(map[enode.ID]*state.InmemoryStore),
+ stores: make(map[enode.ID]state.Store),
}
}