summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCzarek Nakamoto <cyjan@mrcyjanek.net>2023-12-28 11:58:41 +0100
committerCzarek Nakamoto <cyjan@mrcyjanek.net>2023-12-28 11:58:41 +0100
commit8188318c26f8d353e450cc259c483eea0be3f200 (patch)
tree890eda89ec43df3a547669be5900b4c479ef4cf3
parent558a5414fb872a0fea8bb41c81ce4bff90501286 (diff)
fun fact: you need to change function definition when you change the corresponding .h file
-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) {