diff options
| author | Gregory Sanders <[email protected]> | 2018-06-12 16:39:29 -0400 |
|---|---|---|
| committer | Gregory Sanders <[email protected]> | 2018-06-13 10:20:50 -0400 |
| commit | 86edf4a2a502416ba8d6cebbce61030992f7ff6f (patch) | |
| tree | 285ddbff2bb0788387d60cd3c364973cd67a273f /test/functional/rpc_blockchain.py | |
| parent | Merge #13393: Enable double-SHA256-for-64-byte code on 32-bit x86 (diff) | |
| download | discoin-86edf4a2a502416ba8d6cebbce61030992f7ff6f.tar.xz discoin-86edf4a2a502416ba8d6cebbce61030992f7ff6f.zip | |
expose CBlockIndex::nTx in getblock(header)
Diffstat (limited to 'test/functional/rpc_blockchain.py')
| -rwxr-xr-x | test/functional/rpc_blockchain.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/rpc_blockchain.py b/test/functional/rpc_blockchain.py index 17e24453e..7acc59c2c 100755 --- a/test/functional/rpc_blockchain.py +++ b/test/functional/rpc_blockchain.py @@ -217,6 +217,7 @@ class BlockchainTest(BitcoinTestFramework): assert_equal(header['confirmations'], 1) assert_equal(header['previousblockhash'], secondbesthash) assert_is_hex_string(header['chainwork']) + assert_equal(header['nTx'], 1) assert_is_hash_string(header['hash']) assert_is_hash_string(header['previousblockhash']) assert_is_hash_string(header['merkleroot']) |