summaryrefslogtreecommitdiff
path: root/libbridge/src/main/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libbridge/src/main/cpp')
-rw-r--r--libbridge/src/main/cpp/wallet2_api_c.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbridge/src/main/cpp/wallet2_api_c.cpp b/libbridge/src/main/cpp/wallet2_api_c.cpp
index 3a5895c..c353f96 100644
--- a/libbridge/src/main/cpp/wallet2_api_c.cpp
+++ b/libbridge/src/main/cpp/wallet2_api_c.cpp
@@ -70,9 +70,9 @@ void MONERO_Wallet_stop(void* wallet_ptr) {
wallet->stop();
}
-void MONERO_Wallet_store(void* wallet_ptr, const char* path) {
+bool MONERO_Wallet_store(void* wallet_ptr, const char* path) {
Monero::Wallet *wallet = reinterpret_cast<Monero::Wallet*>(wallet_ptr);
- wallet->store(std::string(path));
+ return wallet->store(std::string(path));
}
uint64_t MONERO_Wallet_balance(void* wallet_ptr, uint32_t accountIndex) {