From 1aa1850ba509c83dd19ea6328e161efdbbf62d86 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Fri, 4 Jun 2021 18:07:31 +0200 Subject: wallet_api: signMessage: add sign with subaddress --- src/wallet/api/wallet2_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wallet/api/wallet2_api.h') 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) -- cgit v1.2.3