feat: add test for fee in getmempoolentry

This commit is contained in:
Konstantin Akimov 2024-10-22 20:16:22 +07:00
parent b0d06f0b5f
commit e498378eb7
No known key found for this signature in database
GPG Key ID: 2176C4A5D01EA524

View File

@ -370,6 +370,7 @@ class AssetLocksTest(DashTestFramework):
self.wait_for_sporks_same() self.wait_for_sporks_same()
txid = self.send_tx(asset_unlock_tx) txid = self.send_tx(asset_unlock_tx)
assert_equal(node.getmempoolentry(txid)['fee'], Decimal("0.0007"))
is_id = node_wallet.sendtoaddress(node_wallet.getnewaddress(), 1) is_id = node_wallet.sendtoaddress(node_wallet.getnewaddress(), 1)
for node in self.nodes: for node in self.nodes:
self.wait_for_instantlock(is_id, node) self.wait_for_instantlock(is_id, node)