mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-09 21:43:17 +02:00
walletrpc: add new deadline-delta param to bumpfee rpc
Add new parameter deadline-delta to the bumpfee request and only allow it to be used when the budget value is used as well.
This commit is contained in:
@@ -490,12 +490,12 @@ func testAnchorThirdPartySpend(ht *lntest.HarnessTest) {
|
||||
commit.DeadlineHeight, anchor.DeadlineHeight)
|
||||
|
||||
// Update the anchor sweep's deadline and budget so it will always be
|
||||
// swpet.
|
||||
// swept.
|
||||
bumpFeeReq := &walletrpc.BumpFeeRequest{
|
||||
Outpoint: anchor.Outpoint,
|
||||
TargetConf: uint32(deadline + 100),
|
||||
Budget: uint64(anchor.AmountSat * 10),
|
||||
Immediate: true,
|
||||
Outpoint: anchor.Outpoint,
|
||||
DeadlineDelta: uint32(deadline + 100),
|
||||
Budget: uint64(anchor.AmountSat * 10),
|
||||
Immediate: true,
|
||||
}
|
||||
alice.RPC.BumpFee(bumpFeeReq)
|
||||
|
||||
|
Reference in New Issue
Block a user