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:
7 files changed
+623
-465
No files matched your search
@@ -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