aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-03-21 14:29:49 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-03-21 14:29:49 +0000
commit57300491781af47bdb58d9c8f9a82252564d35c6 (patch)
tree120d0325eb17d1a60508d53e1058714ae9b597e7 /src/wallet/wallet2.h
parentMerge pull request #3429 (diff)
downloadmonero-57300491781af47bdb58d9c8f9a82252564d35c6.tar.xz
wallet: catch exceptions dealing with ringdb and warn
Diffstat (limited to '')
-rw-r--r--src/wallet/wallet2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h
index abc7bb538..ca8bee965 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -1061,7 +1061,7 @@ namespace tools
return epee::net_utils::invoke_http_json_rpc(uri, method_name, req, res, m_http_client, timeout, http_method, req_id);
}
- void set_ring_database(const std::string &filename);
+ bool set_ring_database(const std::string &filename);
const std::string get_ring_database() const { return m_ring_database; }
bool get_ring(const crypto::key_image &key_image, std::vector<uint64_t> &outs);
bool get_rings(const crypto::hash &txid, std::vector<std::pair<crypto::key_image, std::vector<uint64_t>>> &outs);