4efc926d Wallet API: Catch error from tools::is_local_address (Jaquee)
4efc926d
@ -40,7 +40,12 @@ namespace Utils {
bool isAddressLocal(const std::string &address)
{
try {
return tools::is_local_address(address);
} catch (const std::exception &e) {
MERROR("error: " << e.what());
return false;
}