mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-31 17:51:33 +02:00
multi: add new config usestatusinitiated
for the new payment status
This commit adds a new config value to signal that the user understands the new payment status `StatusInitiated`.
This commit is contained in:
@@ -20,6 +20,17 @@ func testMaxHtlcPathfind(ht *lntest.HarnessTest) {
|
||||
maxHtlcs := 5
|
||||
|
||||
alice, bob := ht.Alice, ht.Bob
|
||||
|
||||
// Restart nodes with the new flag so they understand the new payment
|
||||
// status.
|
||||
ht.RestartNodeWithExtraArgs(alice, []string{
|
||||
"--routerrpc.usestatusinitiated",
|
||||
})
|
||||
ht.RestartNodeWithExtraArgs(bob, []string{
|
||||
"--routerrpc.usestatusinitiated",
|
||||
})
|
||||
|
||||
ht.EnsureConnected(alice, bob)
|
||||
chanPoint := ht.OpenChannel(
|
||||
alice, bob, lntest.OpenChannelParams{
|
||||
Amt: 1000000,
|
||||
|
Reference in New Issue
Block a user