diff options
| author | tobtoht <thotbot@protonmail.com> | 2021-06-04 18:07:31 +0200 |
|---|---|---|
| committer | tobtoht <thotbot@protonmail.com> | 2021-06-04 18:16:10 +0200 |
| commit | 1aa1850ba509c83dd19ea6328e161efdbbf62d86 (patch) | |
| tree | b73958763aa78a46c497c143a45456f51520ce39 /src/wallet/api/wallet2_api.h | |
| parent | 1c8e598172bd2eddba2607cae0804db2e685813b (diff) | |
| download | monzero-core-1aa1850ba509c83dd19ea6328e161efdbbf62d86.tar.gz monzero-core-1aa1850ba509c83dd19ea6328e161efdbbf62d86.tar.xz monzero-core-1aa1850ba509c83dd19ea6328e161efdbbf62d86.zip | |
wallet_api: signMessage: add sign with subaddress
Diffstat (limited to 'src/wallet/api/wallet2_api.h')
| -rw-r--r-- | src/wallet/api/wallet2_api.h | 2 |
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) |
