mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Updating from master changed BigchainDB.process_post_response to a private method, so I had to align with that.
This commit is contained in:
parent
78d7902012
commit
f42c6ad2b5
@ -106,7 +106,7 @@ class BigchainDB(object):
|
||||
response = self.post_transaction(transaction, mode)
|
||||
return self._process_post_response(response.json(), mode)
|
||||
|
||||
def process_post_response(self, response, mode):
|
||||
def _process_post_response(self, response, mode):
|
||||
logger.debug(response)
|
||||
if response.get('error') is not None:
|
||||
return (500, 'Internal error')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user