drop wallet_ptr from places where it isn't used

This commit is contained in:
Czarek Nakamoto
2023-12-29 00:20:22 +01:00
parent 7d30d2f2d3
commit eabe10d3d9
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -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));
}