mirror of
https://github.com/monero-project/monero.git
synced 2025-05-02 13:26:05 -04:00
wallet: allow message sign/verify for subaddresses
This commit is contained in:
parent
4c9fd8d86d
commit
d64e5aa719
7 changed files with 67 additions and 19 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue