mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
funding test: correctly send remote peer on connected chan
This commit is contained in:
parent
0db9045e11
commit
5d1a7b0e7d
@ -394,7 +394,7 @@ func createTestFundingManager(t *testing.T, privKey *btcec.PrivateKey,
|
||||
f.cfg.NotifyWhenOnline = func(peer [33]byte,
|
||||
connectedChan chan<- lnpeer.Peer) {
|
||||
|
||||
connectedChan <- testNode
|
||||
connectedChan <- testNode.remotePeer
|
||||
}
|
||||
|
||||
return testNode, nil
|
||||
|
Loading…
Reference in New Issue
Block a user