Skip to content

Commit

Permalink
Define status
Browse files Browse the repository at this point in the history
  • Loading branch information
Liquid369 committed Nov 18, 2024
1 parent 9099fbc commit 0b30432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/test_framework/authproxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def get_request(self, *args, **argsn):

def __call__(self, *args, **argsn):
postdata = json.dumps(self.get_request(*args, **argsn), default=EncodeDecimal, ensure_ascii=self.ensure_ascii)
response = self._request('POST', self.__url.path, postdata.encode('utf-8'))
response, status = self._request('POST', self.__url.path, postdata.encode('utf-8'))
if response['error'] is not None:
raise JSONRPCException(response['error'])
elif 'result' not in response:
Expand Down

0 comments on commit 0b30432

Please sign in to comment.