swarm/state: refactor InmemoryStore (#18143)
This commit is contained in:
committed by
GitHub
parent
3fd87f2193
commit
4c181e4fb9
@@ -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),
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user