We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f65aff commit ebfc308Copy full SHA for ebfc308
test/functional/feature_minchainwork.py
@@ -106,5 +106,13 @@ def run_test(self):
106
# not be exercising the logic we want!)
107
assert_equal(self.nodes[2].getblockchaininfo()['initialblockdownload'], True)
108
109
+ self.log.info("Test -minimumchainwork with a non-hex value")
110
+ self.stop_node(0)
111
+ self.nodes[0].assert_start_raises_init_error(
112
+ ["-minimumchainwork=test"],
113
+ expected_msg='Error: Invalid non-hex (test) minimum chain work value specified',
114
+ )
115
+
116
117
if __name__ == '__main__':
118
MinimumChainWorkTest().main()
0 commit comments