mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-11 07:37:54 +00:00
qa: rpc test for wtxid in mempool entry
This commit is contained in:
parent
7e5d5965d1
commit
617c459c6c
@ -281,6 +281,9 @@ class SegWitTest(BitcoinTestFramework):
|
|||||||
assert(txid2 in template_txids)
|
assert(txid2 in template_txids)
|
||||||
assert(txid3 in template_txids)
|
assert(txid3 in template_txids)
|
||||||
|
|
||||||
|
# Check that wtxid is properly reported in mempool entry
|
||||||
|
assert_equal(int(self.nodes[0].getmempoolentry(txid3)["wtxid"], 16), tx.calc_sha256(True))
|
||||||
|
|
||||||
# Mine a block to clear the gbt cache again.
|
# Mine a block to clear the gbt cache again.
|
||||||
self.nodes[0].generate(1)
|
self.nodes[0].generate(1)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user