sweep+itest: change MaxFeeRate to use SatPerVbyte

This commit is contained in:
yyforyongyu
2023-07-26 11:04:04 +02:00
committed by Olaoluwa Osuntokun
parent bea0ffdf81
commit 258fe7999b
4 changed files with 12 additions and 12 deletions

View File

@@ -230,10 +230,8 @@ func runCPFP(ht *lntest.HarnessTest, alice, bob *node.HarnessNode) {
// We'll attempt to bump the fee of this transaction by performing a
// CPFP from Alice's point of view.
bumpFeeReq := &walletrpc.BumpFeeRequest{
Outpoint: op,
SatPerVbyte: uint64(
sweep.DefaultMaxFeeRate.FeePerKVByte() / 2000,
),
Outpoint: op,
SatPerVbyte: uint64(sweep.DefaultMaxFeeRate),
}
bob.RPC.BumpFee(bumpFeeReq)