fundingmanager_test: init WatchNewChannel

This commit is contained in:
Conner Fromknecht 2018-03-30 23:41:59 -07:00
parent 517135dd9a
commit 3eb53467e0
No known key found for this signature in database
GPG Key ID: 39DE78FBE6ACB0EF

@ -300,7 +300,7 @@ func createTestFundingManager(t *testing.T, privKey *btcec.PrivateKey,
return uint16(lnwallet.MaxHTLCNumber / 2) return uint16(lnwallet.MaxHTLCNumber / 2)
}, },
ArbiterChan: arbiterChan, ArbiterChan: arbiterChan,
WatchNewChannel: func(*channeldb.OpenChannel) error { WatchNewChannel: func(*channeldb.OpenChannel, *lnwire.NetAddress) error {
return nil return nil
}, },
ReportShortChanID: func(wire.OutPoint, lnwire.ShortChannelID) error { ReportShortChanID: func(wire.OutPoint, lnwire.ShortChannelID) error {