test: Fix 'getdescriptoractivity' RPCHelpMan, add test to verify 'spend_vin' is the correct field
This commit is contained in:
1 parent
e6bfd95d50
commit
3543bfdfec
2 files changed
+2
-1
No files matched your search
@@ -191,6 +191,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