mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-29 12:48:11 +02:00
test: Fix 'getdescriptoractivity' RPCHelpMan, add test to verify 'spend_vin' is the correct field
Github-Pull: #33119
Rebased-From: 3543bfdfec
This commit is contained in:
@@ -182,6 +182,7 @@ class GetBlocksActivityTest(BitcoinTestFramework):
|
||||
|
||||
assert result['activity'][2]['type'] == 'spend'
|
||||
assert result['activity'][2]['spend_txid'] == sent2['txid']
|
||||
assert result['activity'][2]['spend_vin'] == 0
|
||||
assert result['activity'][2]['prevout_txid'] == sent1['txid']
|
||||
assert result['activity'][2]['blockhash'] == blockhash_2
|
||||
|
||||
|
Reference in New Issue
Block a user