From fad9fdbea5dfb19328282afda9588edc6f1d0ddf Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Mon, 25 Nov 2019 15:30:01 -0500 Subject: [PATCH] test: Properly deserialize integers in little-endian --- test/functional/interface_rest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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("