diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-10-31 14:09:19 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-12-31 08:44:36 +0000 |
commit | d64e5aa71936d86f91d3f45a9da0468f97078409 (patch) | |
tree | 1376f2390b9c971f95b9e188d38f899af6a6e84f /utils | |
parent | Merge pull request #6044 (diff) | |
download | monero-d64e5aa71936d86f91d3f45a9da0468f97078409.tar.xz |
wallet: allow message sign/verify for subaddresses
Diffstat (limited to 'utils')
-rw-r--r-- | utils/python-rpc/framework/wallet.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/python-rpc/framework/wallet.py b/utils/python-rpc/framework/wallet.py index 6a3fabdc9..6371a253c 100644 --- a/utils/python-rpc/framework/wallet.py +++ b/utils/python-rpc/framework/wallet.py @@ -705,11 +705,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' |