htlcswitch: update unit tests to account for recent API changes

This commit is contained in:
Olaoluwa Osuntokun
2018-04-03 20:09:51 -07:00
parent 0a47b2c4ad
commit ec8e3b626d
3 changed files with 37 additions and 29 deletions

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
},