diff --git a/test/functional/interface_rest.py b/test/functional/interface_rest.py index a036dfc79..797fcc828 100755 --- a/test/functional/interface_rest.py +++ b/test/functional/interface_rest.py @@ -151,7 +151,7 @@ class RESTTest (BitcoinTestFramework): bin_response = self.test_rest_request("/getutxos", http_method='POST', req_type=ReqType.BIN, body=bin_request, ret_type=RetType.BYTES) output = BytesIO(bin_response) - chain_height, = unpack("i", output.read(4)) + chain_height, = unpack("