diff options
author | luigi1111 <luigi1111w@gmail.com> | 2020-08-31 16:49:03 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2020-08-31 16:49:03 -0500 |
commit | 61dd04b68121b4057b4b88356761fbfb3fa73c90 (patch) | |
tree | ce191c3d6f23869e1250f7d77d0746cfafa645c1 /utils/python-rpc/framework | |
parent | Merge pull request #6787 (diff) | |
parent | Bind signature to full address and signing mode (diff) | |
download | monero-61dd04b68121b4057b4b88356761fbfb3fa73c90.tar.xz |
Merge pull request #6600
fa06c39 Bind signature to full address and signing mode (SarangNoether)
743608e wallet: allow signing a message with spend or view key (moneromooo-monero)
Diffstat (limited to 'utils/python-rpc/framework')
-rw-r--r-- | utils/python-rpc/framework/wallet.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/python-rpc/framework/wallet.py b/utils/python-rpc/framework/wallet.py index ac9ba2d3a..d97c24143 100644 --- a/utils/python-rpc/framework/wallet.py +++ b/utils/python-rpc/framework/wallet.py @@ -706,13 +706,14 @@ class Wallet(object): } return self.rpc.send_json_rpc_request(check_reserve_proof) - def sign(self, data, account_index = 0, address_index = 0): + def sign(self, data, account_index = 0, address_index = 0, signature_type = ""): sign = { 'method': 'sign', 'params' : { 'data': data, 'account_index': account_index, 'address_index': address_index, + 'signature_type': signature_type, }, 'jsonrpc': '2.0', 'id': '0' |