summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--monero_libwallet2_api_c/src/main/cpp/monero_wallet2_api_c.cpp6
-rw-r--r--wownero_libwallet2_api_c/src/main/cpp/wownero_wallet2_api_c.cpp6
2 files changed, 6 insertions, 6 deletions
diff --git a/monero_libwallet2_api_c/src/main/cpp/monero_wallet2_api_c.cpp b/monero_libwallet2_api_c/src/main/cpp/monero_wallet2_api_c.cpp
index ef48447..b9ff95f 100644
--- a/monero_libwallet2_api_c/src/main/cpp/monero_wallet2_api_c.cpp
+++ b/monero_libwallet2_api_c/src/main/cpp/monero_wallet2_api_c.cpp
@@ -2638,21 +2638,21 @@ bool MONERO_cw_WalletListener_isNeedToRefresh(void* cw_walletListener_ptr) {
bool MONERO_cw_WalletListener_isNewTransactionExist(void* cw_walletListener_ptr) {
DEBUG_START()
MONERO_cw_WalletListener *listener = reinterpret_cast<MONERO_cw_WalletListener*>(cw_walletListener_ptr);
- return listener->cw_isNeedToRefresh();
+ return listener->cw_isNewTransactionExist();
DEBUG_END()
};
void MONERO_cw_WalletListener_resetIsNewTransactionExist(void* cw_walletListener_ptr) {
DEBUG_START()
MONERO_cw_WalletListener *listener = reinterpret_cast<MONERO_cw_WalletListener*>(cw_walletListener_ptr);
- listener->cw_isNeedToRefresh();
+ listener->cw_resetIsNewTransactionExist();
DEBUG_END()
};
uint64_t MONERO_cw_WalletListener_height(void* cw_walletListener_ptr) {
DEBUG_START()
MONERO_cw_WalletListener *listener = reinterpret_cast<MONERO_cw_WalletListener*>(cw_walletListener_ptr);
- return listener->cw_isNeedToRefresh();
+ return listener->cw_height();
DEBUG_END()
};
diff --git a/wownero_libwallet2_api_c/src/main/cpp/wownero_wallet2_api_c.cpp b/wownero_libwallet2_api_c/src/main/cpp/wownero_wallet2_api_c.cpp
index 7e15211..89e5547 100644
--- a/wownero_libwallet2_api_c/src/main/cpp/wownero_wallet2_api_c.cpp
+++ b/wownero_libwallet2_api_c/src/main/cpp/wownero_wallet2_api_c.cpp
@@ -2381,21 +2381,21 @@ bool WOWNERO_cw_WalletListener_isNeedToRefresh(void* cw_walletListener_ptr) {
bool WOWNERO_cw_WalletListener_isNewTransactionExist(void* cw_walletListener_ptr) {
DEBUG_START()
WOWNERO_cw_WalletListener *listener = reinterpret_cast<WOWNERO_cw_WalletListener*>(cw_walletListener_ptr);
- return listener->cw_isNeedToRefresh();
+ return listener->cw_isNewTransactionExist();
DEBUG_END()
};
void WOWNERO_cw_WalletListener_resetIsNewTransactionExist(void* cw_walletListener_ptr) {
DEBUG_START()
WOWNERO_cw_WalletListener *listener = reinterpret_cast<WOWNERO_cw_WalletListener*>(cw_walletListener_ptr);
- listener->cw_isNeedToRefresh();
+ listener->cw_resetIsNewTransactionExist();
DEBUG_END()
};
uint64_t WOWNERO_cw_WalletListener_height(void* cw_walletListener_ptr) {
DEBUG_START()
WOWNERO_cw_WalletListener *listener = reinterpret_cast<WOWNERO_cw_WalletListener*>(cw_walletListener_ptr);
- return listener->cw_isNeedToRefresh();
+ return listener->cw_height();
DEBUG_END()
};