aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-03-27 22:02:23 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-03-27 23:39:34 +0100
commitb4eada907ca2551d8f0372b40c5af0106b973d50 (patch)
treeaa1dc8c04533b5addcb33faea8633c834b9e028f /src/wallet/wallet2.h
parentwallet: make the JSON reading type safe (diff)
downloadmonero-b4eada907ca2551d8f0372b40c5af0106b973d50.tar.xz
wallet: make load_keys check types when loading JSON
Diffstat (limited to 'src/wallet/wallet2.h')
-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 fc700a3de..b6466d3f6 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -378,7 +378,7 @@ namespace tools
* \param keys_file_name Name of wallet file
* \param password Password of wallet file
*/
- void load_keys(const std::string& keys_file_name, const std::string& password);
+ bool load_keys(const std::string& keys_file_name, const std::string& password);
void process_new_transaction(const cryptonote::transaction& tx, uint64_t height, bool miner_tx);
void process_new_blockchain_entry(const cryptonote::block& b, const cryptonote::block_complete_entry& bche, const crypto::hash& bl_id, uint64_t height);
void detach_blockchain(uint64_t height);