diff --git a/src/wallet/plain_wallet_api.cpp b/src/wallet/plain_wallet_api.cpp index b5241548..8f8846c1 100644 --- a/src/wallet/plain_wallet_api.cpp +++ b/src/wallet/plain_wallet_api.cpp @@ -141,6 +141,7 @@ namespace plain_wallet GET_INSTANCE(pimpl, h); return pimpl->cancel_sync_thread(); } + std::string sync(hwallet h) { GET_INSTANCE(pimpl, h); diff --git a/src/wallet/plain_wallet_api.h b/src/wallet/plain_wallet_api.h index 0b9bb92a..ae58ba0c 100644 --- a/src/wallet/plain_wallet_api.h +++ b/src/wallet/plain_wallet_api.h @@ -21,6 +21,7 @@ namespace plain_wallet std::string start_sync_thread(hwallet h); std::string get_sync_status(hwallet h); + std::string cancel_sync_thread(hwallet h); std::string sync(hwallet h); std::string invoke(hwallet h, const std::string& params); } \ No newline at end of file