diff --git a/test/functional/interface_rest.py b/test/functional/interface_rest.py index 6c6341f5479aa4..5ccd31957a75ac 100755 --- a/test/functional/interface_rest.py +++ b/test/functional/interface_rest.py @@ -342,5 +342,9 @@ def run_test(self): json_obj = self.test_rest_request("/chaininfo") assert_equal(json_obj['bestblockhash'], bb_hash) + # Compare with normal RPC getblockchaininfo response + blockchain_info = self.nodes[0].getblockchaininfo() + assert_equal(blockchain_info, json_obj) + if __name__ == '__main__': RESTTest().main()