Skip to content

Commit

Permalink
fix: test fixture peer manager in mempool reactor tests (#6308)
Browse files Browse the repository at this point in the history
  • Loading branch information
tychoish committed Apr 1, 2021
1 parent 19393f0 commit f2f085c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mempool/reactor_test.go
Expand Up @@ -66,7 +66,7 @@ func setup(t *testing.T, cfg *cfg.MempoolConfig, numNodes int, chBuf uint) *reac
rts.reactors[nodeID] = NewReactor(
rts.logger.With("nodeID", nodeID),
cfg,
rts.network.RandomNode().PeerManager,
rts.network.Nodes[nodeID].PeerManager,
mempool,
rts.mempoolChnnels[nodeID],
rts.peerUpdates[nodeID],
Expand Down

0 comments on commit f2f085c

Please sign in to comment.