funding test: correctly send remote peer on connected chan

This commit is contained in:
Johan T. Halseth 2018-09-16 10:40:09 +02:00
parent 0db9045e11
commit 5d1a7b0e7d
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26

View File

@ -394,7 +394,7 @@ func createTestFundingManager(t *testing.T, privKey *btcec.PrivateKey,
f.cfg.NotifyWhenOnline = func(peer [33]byte, f.cfg.NotifyWhenOnline = func(peer [33]byte,
connectedChan chan<- lnpeer.Peer) { connectedChan chan<- lnpeer.Peer) {
connectedChan <- testNode connectedChan <- testNode.remotePeer
} }
return testNode, nil return testNode, nil