Merge pull request #5559 from de6df1re/lntest-itest-bugfix

itest: fix payment test error message
This commit is contained in:
Oliver Gugger authored and GitHub committed 2021-08-20 19:01:13 +02:00
commit 746a7dfbfc
2 files changed
+5 -2

No files matched your search

+4 -1
View File
@@ -105,6 +105,8 @@ you.
* [Fixed typo in `dest_custom_records` description comment](https://github.com/lightningnetwork/lnd/pull/5541). * [Fixed typo in `dest_custom_records` description comment](https://github.com/lightningnetwork/lnd/pull/5541).
* [Fixed payment test error message.](https://github.com/lightningnetwork/lnd/pull/5559)
* [Bumped version of `github.com/miekg/dns` library to fix a Dependabot * [Bumped version of `github.com/miekg/dns` library to fix a Dependabot
alert](https://github.com/lightningnetwork/lnd/pull/5576). alert](https://github.com/lightningnetwork/lnd/pull/5576).
@@ -162,10 +164,11 @@ change](https://github.com/lightningnetwork/lnd/pull/5613).
# Contributors (Alphabetical Order) # Contributors (Alphabetical Order)
* Andras Banki-Horvath * Andras Banki-Horvath
* de6df1re
* ErikEk * ErikEk
* Eugene Siegel * Eugene Siegel
* Martin Habovstiak * Martin Habovstiak
* Zero-1729
* Oliver Gugger * Oliver Gugger
* xanoni * xanoni
* Yong Yu * Yong Yu
* Zero-1729
+1 -1
View File
@@ -156,7 +156,7 @@ func testListPayments(net *lntest.NetworkHarness, t *harnessTest) {
} }
if len(paymentsResp.Payments) != 0 { if len(paymentsResp.Payments) != 0 {
t.Fatalf("incorrect number of payments, got %v, want %v", t.Fatalf("incorrect number of payments, got %v, want %v",
len(paymentsRespInit.Payments), 0) len(paymentsResp.Payments), 0)
} }
closeChannelAndAssert(t, net, net.Alice, chanPoint, false) closeChannelAndAssert(t, net, net.Alice, chanPoint, false)