fun fact: you need to change function definition when you change the corresponding .h file

This commit is contained in:
Czarek Nakamoto
2023-12-28 11:58:41 +01:00
parent 558a5414fb
commit 8188318c26

View File

@@ -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) {