aboutsummaryrefslogtreecommitdiff
path: root/utils/python-rpc
diff options
context:
space:
mode:
authorJustin Berman <justinberman@protonmail.com>2025-06-26 17:32:12 +0000
committernahuhh <50635951+nahuhh@users.noreply.github.com>2025-07-07 22:21:43 +0000
commite23d51bc1683e4aa369ba0f2889b96113eeb4e3a (patch)
treee5c6ae3a60d2fdfc03938a4dcaa6efb84ad234f5 /utils/python-rpc
parent678f5dab31aa27c9e6e1fb24a4c1f683ef242e1a (diff)
downloadmonzero-core-e23d51bc1683e4aa369ba0f2889b96113eeb4e3a.tar.gz
monzero-core-e23d51bc1683e4aa369ba0f2889b96113eeb4e3a.tar.xz
monzero-core-e23d51bc1683e4aa369ba0f2889b96113eeb4e3a.zip
wallet: improve lookahead logic & make rpc persistent
Diffstat (limited to 'utils/python-rpc')
-rw-r--r--utils/python-rpc/framework/wallet.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/python-rpc/framework/wallet.py b/utils/python-rpc/framework/wallet.py
index d7cbde5da..d95c3b2b5 100644
--- a/utils/python-rpc/framework/wallet.py
+++ b/utils/python-rpc/framework/wallet.py
@@ -333,11 +333,12 @@ class Wallet(object):
}
return self.rpc.send_json_rpc_request(generate_from_keys)
- def set_subaddress_lookahead(self, major_idx: int, minor_idx: int):
+ def set_subaddress_lookahead(self, major_idx: int, minor_idx: int, password = ""):
lookahead = {
'method': 'set_subaddress_lookahead',
'jsonrpc': '2.0',
'params' : {
+ 'password': password,
'major_idx': major_idx,
'minor_idx': minor_idx
},