aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-11-25 19:46:07 +0200
committerRiccardo Spagni <ric@spagni.net>2017-11-25 19:46:07 +0200
commit7a6358408dba194320c6484d0c8a4e19d83973c9 (patch)
tree8babed79a324b782b46db831292217e01213bc44 /src/wallet/api/wallet.cpp
parent49ce59462adba8b6a305f94cefe1f9d871d60526 (diff)
parentbe1c01298ab4e2d850ac18537784d1c11c777c60 (diff)
downloadmonzero-core-7a6358408dba194320c6484d0c8a4e19d83973c9.tar.gz
monzero-core-7a6358408dba194320c6484d0c8a4e19d83973c9.tar.xz
monzero-core-7a6358408dba194320c6484d0c8a4e19d83973c9.zip
Merge pull request #2846
be1c0129 fix for tx proof: use exception instead of error_str when signature gen failed (stoffu)
Diffstat (limited to 'src/wallet/api/wallet.cpp')
-rw-r--r--src/wallet/api/wallet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp
index db8911042..b14c2e1eb 100644
--- a/src/wallet/api/wallet.cpp
+++ b/src/wallet/api/wallet.cpp
@@ -1467,7 +1467,7 @@ bool WalletImpl::checkTxKey(const std::string &txid_str, std::string tx_key_str,
}
}
-std::string WalletImpl::getTxProof(const std::string &txid_str, const std::string &address_str, const std::string &message, std::string &error_str) const
+std::string WalletImpl::getTxProof(const std::string &txid_str, const std::string &address_str, const std::string &message) const
{
crypto::hash txid;
if (!epee::string_tools::hex_to_pod(txid_str, txid))
@@ -1488,7 +1488,7 @@ std::string WalletImpl::getTxProof(const std::string &txid_str, const std::strin
try
{
m_status = Status_Ok;
- return m_wallet->get_tx_proof(txid, info.address, info.is_subaddress, message, error_str);
+ return m_wallet->get_tx_proof(txid, info.address, info.is_subaddress, message);
}
catch (const std::exception &e)
{