Add warnings field to getblockchaininfo

This commit is contained in:
Andrew Chow
2017-07-17 15:43:12 -07:00
parent ef8340d25f
commit f77f0e4825
2 changed files with 3 additions and 0 deletions

View File

@@ -60,6 +60,7 @@ class BlockchainTest(BitcoinTestFramework):
'pruned',
'softforks',
'verificationprogress',
'warnings',
]
res = self.nodes[0].getblockchaininfo()
# result should have pruneheight and default keys if pruning is enabled