htlcswitch/switch: remove numPendingPayments only used in tests
This commit is contained in:
2 files changed
-13
No files matched your search
@@ -1798,10 +1798,6 @@ func TestSwitchSendPayment(t *testing.T) {
|
||||
case <-time.After(time.Second):
|
||||
t.Fatal("err wasn't received")
|
||||
}
|
||||
|
||||
if s.numPendingPayments() != 0 {
|
||||
t.Fatal("wrong amount of pending payments")
|
||||
}
|
||||
}
|
||||
|
||||
// TestLocalPaymentNoForwardingEvents tests that if we send a series of locally
|
||||
|
||||
Reference in new issue
Block a user