rpc: Return wtxid from testmempoolaccept

This commit is contained in:
MarcoFalke committed 2021-01-12 18:43:43 +01:00
1 parent 6af013792f
commit fa0aa87071
7 files changed
+48 -10

No files matched your search

+1 -1
View File
@@ -76,4 +76,4 @@ class MiniWallet:
from_node.sendrawtransaction(tx_hex)
assert_equal(tx_info['vsize'], vsize)
assert_equal(tx_info['fees']['base'], fee)
return {'txid': tx_info['txid'], 'wtxid': from_node.decoderawtransaction(tx_hex)['hash'], 'hex': tx_hex}
return {'txid': tx_info['txid'], 'wtxid': tx_info['wtxid'], 'hex': tx_hex}