htlcswitch/switch: remove numPendingPayments only used in tests

This commit is contained in:
Johan T. Halseth committed 2019-05-16 23:56:12 +02:00
1 parent cff4d3547d
commit be129eb7c7
2 files changed
-13

No files matched your search

-4
View File
@@ -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