Add warnings field to getblockchaininfo

This commit is contained in:
Andrew Chow committed 2017-09-27 11:27:26 -04:00
1 parent ef8340d25f
commit f77f0e4825
2 files changed
+3

No files matched your search

+1
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