htlcswitch: update unit tests to account for recent API changes

This commit is contained in:
Olaoluwa Osuntokun committed 2018-04-06 14:52:00 -07:00
1 parent 0a47b2c4ad
commit ec8e3b626d
3 files changed
+37 -29

No files matched your search

+2 -2
View File
@@ -1476,8 +1476,8 @@ func newSingleLinkTestHarness(chanAmt, chanReserve btcutil.Amount) (
ErrorEncrypter, lnwire.FailCode) {
return obfuscator, lnwire.CodeNone
},
GetLastChannelUpdate: mockGetChanUpdateMessage,
PreimageCache: pCache,
FetchLastChannelUpdate: mockGetChanUpdateMessage,
PreimageCache: pCache,
UpdateContractSignals: func(*contractcourt.ContractSignals) error {
return nil
},