diff --git a/src/wallet/plain_wallet_api.cpp b/src/wallet/plain_wallet_api.cpp index e899caf1..8a2c2165 100644 --- a/src/wallet/plain_wallet_api.cpp +++ b/src/wallet/plain_wallet_api.cpp @@ -113,6 +113,7 @@ namespace plain_wallet if (it == ginstances.end()) { LOG_ERROR("Internall error: attempt to delete wallet with wrong instance id: " << h); + return; } instance_ptr = it->second; ginstances.erase(it);