Merge pull request #6712 from Roasbeef/itest-keep-failed-payments

lntest: keep all failed payments by default for HarnessNode
This commit is contained in:
Oliver Gugger 2022-07-08 14:31:37 +02:00 committed by GitHub
commit 6980a18ab1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -65,6 +65,8 @@
* [The HtlcSwitch now waits for a ChannelLink to stop before replacing it. This fixes a race
condition.](https://github.com/lightningnetwork/lnd/pull/6642)
* [Integration tests now always run with nodes never deleting failed payments](https://github.com/lightningnetwork/lnd/pull/6712).
## Code Health
### Code cleanup, refactor, typo fixes
@ -91,6 +93,7 @@
* Eugene Siegel
* Slyghtning
* Oliver Gugger
* Olaoluwa Osuntokun
* Priyansh Rastogi
* Tommy Volk
* Yong Yu

View File

@ -217,6 +217,7 @@ func (cfg *BaseNodeConfig) GenArgs() []string {
"--nobootstrap",
"--debuglevel=debug",
"--bitcoin.defaultchanconfs=1",
"--keep-failed-payment-attempts",
fmt.Sprintf("--db.batch-commit-interval=%v", commitInterval),
fmt.Sprintf("--bitcoin.defaultremotedelay=%v", DefaultCSV),
fmt.Sprintf("--rpclisten=%v", cfg.RPCAddr()),