@@ -60,6 +60,12 @@ func (m *mockPaymentAttemptDispatcherOld) SendHTLC(
6060 return nil
6161}
6262
63+ func (m * mockPaymentAttemptDispatcherOld ) HasAttemptResult (
64+ attemptID uint64 ) (bool , error ) {
65+
66+ return false , nil
67+ }
68+
6369func (m * mockPaymentAttemptDispatcherOld ) GetAttemptResult (paymentID uint64 ,
6470 _ lntypes.Hash , _ htlcswitch.ErrorDecrypter ) (
6571 <- chan * htlcswitch.PaymentResult , error ) {
@@ -209,6 +215,10 @@ func (m *mockPayerOld) SendHTLC(_ lnwire.ShortChannelID,
209215
210216}
211217
218+ func (m * mockPayerOld ) HasAttemptResult (attemptID uint64 ) (bool , error ) {
219+ return false , nil
220+ }
221+
212222func (m * mockPayerOld ) GetAttemptResult (paymentID uint64 , _ lntypes.Hash ,
213223 _ htlcswitch.ErrorDecrypter ) (<- chan * htlcswitch.PaymentResult , error ) {
214224
@@ -585,6 +595,13 @@ func (m *mockPaymentAttemptDispatcher) SendHTLC(firstHop lnwire.ShortChannelID,
585595 return args .Error (0 )
586596}
587597
598+ func (m * mockPaymentAttemptDispatcher ) HasAttemptResult (
599+ attemptID uint64 ) (bool , error ) {
600+
601+ args := m .Called (attemptID )
602+ return args .Bool (0 ), args .Error (1 )
603+ }
604+
588605func (m * mockPaymentAttemptDispatcher ) GetAttemptResult (attemptID uint64 ,
589606 paymentHash lntypes.Hash , deobfuscator htlcswitch.ErrorDecrypter ) (
590607 <- chan * htlcswitch.PaymentResult , error ) {
0 commit comments