Skip to content

Commit

Permalink
no need for 10 subaddresses, and this also makes the test compatible …
Browse files Browse the repository at this point in the history
…with the drain_accounts.py script (#1919)
  • Loading branch information
eranrund authored May 4, 2022
1 parent 4baf0da commit 0246891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mobilecoind-json/tests/integration_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def get_balance(self, monitor_id, subaddress_index=0):
raise Exception(f"Invalid response: {response}")
return int(response["balance"])

def create_monitor(self, account_key, first_subaddress_index=0, num_subaddresses=10):
def create_monitor(self, account_key, first_subaddress_index=0, num_subaddresses=1):
return self.request(f"monitors", {
"account_key": account_key,
"first_subaddress": first_subaddress_index,
Expand Down

0 comments on commit 0246891

Please sign in to comment.