aboutsummaryrefslogtreecommitdiff
path: root/utils/python-rpc/framework
diff options
context:
space:
mode:
authorAlexander Blair <snipa@jagtech.io>2020-02-06 00:29:32 -0800
committerAlexander Blair <snipa@jagtech.io>2020-02-06 00:29:32 -0800
commit3b224bb99db27971f4fc02b77390340c54bb6c99 (patch)
tree952d3e4e712f3acc611855d3f250e83d155c6d48 /utils/python-rpc/framework
parentMerge pull request #6053 (diff)
parentwallet: allow message sign/verify for subaddresses (diff)
downloadmonero-3b224bb99db27971f4fc02b77390340c54bb6c99.tar.xz
Merge pull request #6069
d64e5aa7 wallet: allow message sign/verify for subaddresses (moneromooo-monero)
Diffstat (limited to 'utils/python-rpc/framework')
-rw-r--r--utils/python-rpc/framework/wallet.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/python-rpc/framework/wallet.py b/utils/python-rpc/framework/wallet.py
index 703261a4e..ac9ba2d3a 100644
--- a/utils/python-rpc/framework/wallet.py
+++ b/utils/python-rpc/framework/wallet.py
@@ -706,11 +706,13 @@ class Wallet(object):
}
return self.rpc.send_json_rpc_request(check_reserve_proof)
- def sign(self, data):
+ def sign(self, data, account_index = 0, address_index = 0):
sign = {
'method': 'sign',
'params' : {
'data': data,
+ 'account_index': account_index,
+ 'address_index': address_index,
},
'jsonrpc': '2.0',
'id': '0'