From 7bd5002cc92e71ed972a08dc5ebd6478cc3680d4 Mon Sep 17 00:00:00 2001 From: Czarek Nakamoto Date: Sat, 30 Dec 2023 00:45:47 +0100 Subject: new function: - MONERO_Wallet_setRefreshFromBlockHeight --- libbridge/src/main/cpp/wallet2_api_c.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libbridge/src/main/cpp/wallet2_api_c.cpp') diff --git a/libbridge/src/main/cpp/wallet2_api_c.cpp b/libbridge/src/main/cpp/wallet2_api_c.cpp index b7f0103..adb82f5 100644 --- a/libbridge/src/main/cpp/wallet2_api_c.cpp +++ b/libbridge/src/main/cpp/wallet2_api_c.cpp @@ -195,6 +195,11 @@ bool MONERO_Wallet_init(void* wallet_ptr, const char* daemon_address, uint64_t u return wallet->init(std::string(daemon_address), upper_transaction_size_limit, std::string(daemon_username), std::string(daemon_password), use_ssl, lightWallet, std::string(proxy_address)); } +void MONERO_Wallet_setRefreshFromBlockHeight(void* wallet_ptr, uint64_t refresh_from_block_height) { + Monero::Wallet *wallet = reinterpret_cast(wallet_ptr); + return wallet->setRefreshFromBlockHeight(refresh_from_block_height); +} + uint64_t MONERO_Wallet_getRefreshFromBlockHeight(void* wallet_ptr) { Monero::Wallet *wallet = reinterpret_cast(wallet_ptr); return wallet->getRefreshFromBlockHeight(); -- cgit v1.2.3