rpc: Return incrementalrelayfee in getmempoolinfo

This commit is contained in:
MacroFake committed 2022-06-21 18:03:29 +02:00
1 parent b178807265
commit fafee78188
2 files changed
+5 -2

No files matched your search

+1
View File
@@ -712,6 +712,7 @@ class ReplaceByFeeTest(BitcoinTestFramework):
# Higher fee, higher feerate, different txid, but the replacement does not provide a relay
# fee conforming to node's `incrementalrelayfee` policy of 1000 sat per KB.
assert_equal(self.nodes[0].getmempoolinfo()["incrementalrelayfee"], Decimal("0.00001"))
tx.vout[0].nValue -= 1
assert_raises_rpc_error(-26, "insufficient fee", self.nodes[0].sendrawtransaction, tx.serialize().hex())