aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet2_api.h
diff options
context:
space:
mode:
authortobtoht <thotbot@protonmail.com>2021-06-04 18:07:31 +0200
committertobtoht <thotbot@protonmail.com>2021-06-04 18:16:10 +0200
commit1aa1850ba509c83dd19ea6328e161efdbbf62d86 (patch)
treeb73958763aa78a46c497c143a45456f51520ce39 /src/wallet/api/wallet2_api.h
parentMerge pull request #7735 (diff)
downloadmonero-1aa1850ba509c83dd19ea6328e161efdbbf62d86.tar.xz
wallet_api: signMessage: add sign with subaddress
Diffstat (limited to 'src/wallet/api/wallet2_api.h')
-rw-r--r--src/wallet/api/wallet2_api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h
index e34332734..6e9ca7f40 100644
--- a/src/wallet/api/wallet2_api.h
+++ b/src/wallet/api/wallet2_api.h
@@ -993,7 +993,7 @@ struct Wallet
* \param message - the message to sign (arbitrary byte data)
* \return the signature
*/
- virtual std::string signMessage(const std::string &message) = 0;
+ virtual std::string signMessage(const std::string &message, const std::string &address = "") = 0;
/*!
* \brief verifySignedMessage - verify a signature matches a given message
* \param message - the message (arbitrary byte data)