summaryrefslogtreecommitdiff
path: root/libbridge/src/main/cpp/wallet2_api_c.cpp
diff options
context:
space:
mode:
authorCzarek Nakamoto <cyjan@mrcyjanek.net>2023-12-29 00:20:22 +0100
committerCzarek Nakamoto <cyjan@mrcyjanek.net>2023-12-29 00:20:22 +0100
commiteabe10d3d9f219933645407c1b80b8c93eb4573c (patch)
tree24199d58918d75211d8e5e0df4f4060dcc924e05 /libbridge/src/main/cpp/wallet2_api_c.cpp
parent7d30d2f2d3a9c2d24cea8905e9e4e23cafaadc08 (diff)
drop wallet_ptr from places where it isn't used
Diffstat (limited to 'libbridge/src/main/cpp/wallet2_api_c.cpp')
-rw-r--r--libbridge/src/main/cpp/wallet2_api_c.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libbridge/src/main/cpp/wallet2_api_c.cpp b/libbridge/src/main/cpp/wallet2_api_c.cpp
index 22f310d..18a17c9 100644
--- a/libbridge/src/main/cpp/wallet2_api_c.cpp
+++ b/libbridge/src/main/cpp/wallet2_api_c.cpp
@@ -391,14 +391,14 @@ bool MONERO_WalletManager_closeWallet(void* wallet_ptr, bool store) {
store);
}
-bool MONERO_WalletManager_walletExists(void* wallet_ptr, const char* path) {
+bool MONERO_WalletManager_walletExists(const char* path) {
return Monero::WalletManagerFactory::getWalletManager()->walletExists(std::string(path));
}
-const char* MONERO_WalletManager_errorString(void* wallet_ptr) {
+const char* MONERO_WalletManager_errorString() {
return Monero::WalletManagerFactory::getWalletManager()->errorString().c_str();
}
-void MONERO_WalletManager_setDaemonAddress(void* wallet_ptr, const char* address) {
+void MONERO_WalletManager_setDaemonAddress(const char* address) {
return Monero::WalletManagerFactory::getWalletManager()->setDaemonAddress(std::string(address));
}