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

+4
View File
@@ -604,6 +604,10 @@ func (f *mockChannelLink) HandleChannelUpdate(lnwire.Message) {
func (f *mockChannelLink) UpdateForwardingPolicy(_ ForwardingPolicy) {
}
func (f *mockChannelLink) HtlcSatifiesPolicy([32]byte, lnwire.MilliSatoshi,
lnwire.MilliSatoshi) lnwire.FailureMessage {
return nil
}
func (f *mockChannelLink) Stats() (uint64, lnwire.MilliSatoshi, lnwire.MilliSatoshi) {
return 0, 0, 0