mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-03-19 05:25:11 +01:00
Account for rounding of fee rate in CPFP test (#2423)
This commit is contained in:
parent
3f18ba18d7
commit
90e2a4b6f1
1 changed files with 2 additions and 1 deletions
|
@ -370,7 +370,8 @@ class WalletSendingTest extends BitcoinSWalletTest {
|
|||
SatoshisPerKW.calc(inputAmount, child)
|
||||
}
|
||||
|
||||
assert(childFeeRate == bumpRate)
|
||||
// Do +/- scale factor because of rounding errors
|
||||
assert(childFeeRate.toLong === bumpRate.toLong +- bumpRate.scaleFactor)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue