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