rpc: getdeploymentinfo: include block hash/height

This commit is contained in:
Anthony Towns
2021-11-14 08:44:40 +10:00
parent a7469bcd35
commit 376c0c6dae
2 changed files with 6 additions and 0 deletions

View File

@ -177,6 +177,8 @@ class BlockchainTest(BitcoinTestFramework):
assert height >= 144 and height <= 287
assert_equal(gdi_result, {
"hash": blockhash,
"height": height,
"deployments": {
'bip34': {'type': 'buried', 'active': True, 'height': 2},
'bip66': {'type': 'buried', 'active': True, 'height': 3},