aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.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/wallet.h
parentMerge pull request #7735 (diff)
downloadmonero-1aa1850ba509c83dd19ea6328e161efdbbf62d86.tar.xz
wallet_api: signMessage: add sign with subaddress
Diffstat (limited to 'src/wallet/api/wallet.h')
-rw-r--r--src/wallet/api/wallet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/api/wallet.h b/src/wallet/api/wallet.h
index ce2d7d7e4..c6568157a 100644
--- a/src/wallet/api/wallet.h
+++ b/src/wallet/api/wallet.h
@@ -196,7 +196,7 @@ public:
virtual bool checkSpendProof(const std::string &txid, const std::string &message, const std::string &signature, bool &good) const override;
virtual std::string getReserveProof(bool all, uint32_t account_index, uint64_t amount, const std::string &message) const override;
virtual bool checkReserveProof(const std::string &address, const std::string &message, const std::string &signature, bool &good, uint64_t &total, uint64_t &spent) const override;
- virtual std::string signMessage(const std::string &message) override;
+ virtual std::string signMessage(const std::string &message, const std::string &address) override;
virtual bool verifySignedMessage(const std::string &message, const std::string &address, const std::string &signature) const override;
virtual std::string signMultisigParticipant(const std::string &message) const override;
virtual bool verifyMessageWithPublicKey(const std::string &message, const std::string &publicKey, const std::string &signature) const override;