diff options
author | Sarang Noether <32460187+SarangNoether@users.noreply.github.com> | 2020-08-28 19:38:00 -0400 |
---|---|---|
committer | Sarang Noether <32460187+SarangNoether@users.noreply.github.com> | 2020-08-28 19:38:00 -0400 |
commit | fa06c39d9731b90dfd58ecd6cdfd3c936ee139a7 (patch) | |
tree | ce191c3d6f23869e1250f7d77d0746cfafa645c1 /src/wallet/wallet2.h | |
parent | wallet: allow signing a message with spend or view key (diff) | |
download | monero-fa06c39d9731b90dfd58ecd6cdfd3c936ee139a7.tar.xz |
Bind signature to full address and signing mode
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r-- | src/wallet/wallet2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 7a142d016..62ed111f1 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -1341,7 +1341,7 @@ private: */ void set_account_tag_description(const std::string& tag, const std::string& description); - enum message_signature_type_t { sign_with_spend_key, sign_with_view_key, sign_with_both_keys }; + enum message_signature_type_t { sign_with_spend_key, sign_with_view_key }; std::string sign(const std::string &data, message_signature_type_t signature_type, cryptonote::subaddress_index index = {0, 0}) const; struct message_signature_result_t { bool valid; unsigned version; bool old; message_signature_type_t type; }; message_signature_result_t verify(const std::string &data, const cryptonote::account_public_address &address, const std::string &signature) const; |