Browse Source

Remove unused function argument

master
Kristaps Kaupe 5 years ago
parent
commit
fb1d6cfe3a
No known key found for this signature in database
GPG Key ID: 33E472FE870C7E5D
  1. 2
      jmclient/jmclient/blockchaininterface.py
  2. 2
      test/test_segwit.py

2
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

2
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

Loading…
Cancel
Save