From f2f085c7a3ecf69ed4e7249d2fe1765be47f8ef1 Mon Sep 17 00:00:00 2001 From: Sam Kleinman Date: Thu, 1 Apr 2021 13:01:04 -0400 Subject: [PATCH] fix: test fixture peer manager in mempool reactor tests (#6308) --- mempool/reactor_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mempool/reactor_test.go b/mempool/reactor_test.go index e287302f0..f9c609dac 100644 --- a/mempool/reactor_test.go +++ b/mempool/reactor_test.go @@ -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],