diff options
author | stoffu <stoffu@protonmail.ch> | 2017-11-20 18:10:58 +0900 |
---|---|---|
committer | stoffu <stoffu@protonmail.ch> | 2017-11-21 16:48:22 +0900 |
commit | be1c01298ab4e2d850ac18537784d1c11c777c60 (patch) | |
tree | 8babed79a324b782b46db831292217e01213bc44 /src/wallet/wallet2_api.h | |
parent | Merge pull request #2783 (diff) | |
download | monero-be1c01298ab4e2d850ac18537784d1c11c777c60.tar.xz |
fix for tx proof: use exception instead of error_str when signature gen failed
Diffstat (limited to 'src/wallet/wallet2_api.h')
-rw-r--r-- | src/wallet/wallet2_api.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2_api.h b/src/wallet/wallet2_api.h index 8d6b2ffa9..f84541ae1 100644 --- a/src/wallet/wallet2_api.h +++ b/src/wallet/wallet2_api.h @@ -701,7 +701,7 @@ struct Wallet virtual std::string getUserNote(const std::string &txid) const = 0; virtual std::string getTxKey(const std::string &txid) const = 0; virtual bool checkTxKey(const std::string &txid, std::string tx_key, const std::string &address, uint64_t &received, bool &in_pool, uint64_t &confirmations) = 0; - virtual std::string getTxProof(const std::string &txid, const std::string &address, const std::string &message, std::string &error_str) const = 0; + virtual std::string getTxProof(const std::string &txid, const std::string &address, const std::string &message) const = 0; virtual bool checkTxProof(const std::string &txid, const std::string &address, const std::string &message, const std::string &signature, bool &good, uint64_t &received, bool &in_pool, uint64_t &confirmations) = 0; /* |