sweep+itest: change MaxFeeRate to use SatPerVbyte

This commit is contained in:
yyforyongyu authored and Olaoluwa Osuntokun committed 2023-10-06 16:34:47 -07:00
1 parent bea0ffdf81
commit 258fe7999b
4 files changed
+12 -12

No files matched your search

+2 -4
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)