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

itest: fix payment test error message
This commit is contained in:
Oliver Gugger 2021-08-20 19:01:13 +02:00 committed by GitHub
commit 746a7dfbfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -105,6 +105,8 @@ you.
* [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
alert](https://github.com/lightningnetwork/lnd/pull/5576).
@ -162,10 +164,11 @@ change](https://github.com/lightningnetwork/lnd/pull/5613).
# Contributors (Alphabetical Order)
* Andras Banki-Horvath
* de6df1re
* ErikEk
* Eugene Siegel
* Martin Habovstiak
* Zero-1729
* Oliver Gugger
* xanoni
* Yong Yu
* Zero-1729

View File

@ -156,7 +156,7 @@ func testListPayments(net *lntest.NetworkHarness, t *harnessTest) {
}
if len(paymentsResp.Payments) != 0 {
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)