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/wallet.h | |
parent | Merge pull request #7735 (diff) | |
download | monero-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.h | 2 |
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; |