Browse Source

fix: test fixture peer manager in mempool reactor tests (#6308)

pull/6309/head
Sam Kleinman 4 years ago
committed by GitHub
parent
commit
f2f085c7a3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mempool/reactor_test.go

+ 1
- 1
mempool/reactor_test.go View File

@ -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],


Loading…
Cancel
Save