diff --git a/basicswap/__init__.py b/basicswap/__init__.py index ba22722..daff959 100644 --- a/basicswap/__init__.py +++ b/basicswap/__init__.py @@ -1,3 +1,3 @@ name = "basicswap" -__version__ = "0.11.43" +__version__ = "0.11.44" diff --git a/basicswap/http_server.py b/basicswap/http_server.py index db1268e..5157045 100644 --- a/basicswap/http_server.py +++ b/basicswap/http_server.py @@ -90,6 +90,13 @@ def listExplorerActions(swap_client): class HttpHandler(BaseHTTPRequestHandler): + def log_error(self, format, *args): + super().log_message(format, *args) + + def log_message(self, format, *args): + # TODO: Add debug flag to re-enable. + pass + def generate_form_id(self): return os.urandom(8).hex() diff --git a/tests/basicswap/extended/test_pivx.py b/tests/basicswap/extended/test_pivx.py index 7d6c88b..141823f 100644 --- a/tests/basicswap/extended/test_pivx.py +++ b/tests/basicswap/extended/test_pivx.py @@ -562,7 +562,7 @@ class Test(unittest.TestCase): txid = pivxRpc('shieldsendmany "{}" "[{{\\"address\\": \\"{}\\", \\"amount\\": 1}}]"'.format(pivx_addr, pivx_sapling_addr)) rtx = pivxRpc(f'getrawtransaction \"{txid}\" true') - assert(rtx['version'] == 3) + assert (rtx['version'] == 3) block_hash = pivxRpc(f'generatetoaddress 1 \"{generate_addr}\"')[0]