From fb1d6cfe3a7e72daa3f7d4d37ae0175c1e4727ed Mon Sep 17 00:00:00 2001 From: Kristaps Kaupe Date: Mon, 19 Apr 2021 21:09:18 +0300 Subject: [PATCH] Remove unused function argument --- jmclient/jmclient/blockchaininterface.py | 2 +- test/test_segwit.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jmclient/jmclient/blockchaininterface.py b/jmclient/jmclient/blockchaininterface.py index 91c128d..6d1c412 100644 --- a/jmclient/jmclient/blockchaininterface.py +++ b/jmclient/jmclient/blockchaininterface.py @@ -695,7 +695,7 @@ class RegtestBitcoinCoreInterface(BitcoinCoreInterface, RegtestBitcoinCoreMixin) self.tick_forward_chain, 1) return ret - def get_received_by_addr(self, addresses, query_params): + def get_received_by_addr(self, addresses): # NB This will NOT return coinbase coins (but wont matter in our use # case). allow importaddress to fail in case the address is already # in the wallet diff --git a/test/test_segwit.py b/test/test_segwit.py index 5ac30d3..d6e5f4b 100644 --- a/test/test_segwit.py +++ b/test/test_segwit.py @@ -131,7 +131,7 @@ def test_spend_p2sh_p2wpkh_multi(setup_segwit, wallet_structure, in_amt, amount, balances = jm_single().bc_interface.get_received_by_addr( [nsw_wallet_service.script_to_addr(cj_script), - nsw_wallet_service.script_to_addr(change_script)], None)['data'] + nsw_wallet_service.script_to_addr(change_script)])['data'] assert balances[0]['balance'] == amount assert balances[1]['balance'] == change_amt