Merge pull request #5478

7d9b7fe functional_tests: add validate_address tests (moneromooo-monero)
This commit is contained in:
luigi1111 2019-08-14 15:23:31 -05:00
commit dd3b5ecb98
No known key found for this signature in database
GPG key ID: F4ACA0183641E010
3 changed files with 126 additions and 3 deletions

View file

@ -4091,9 +4091,8 @@ namespace tools
}
}
er.code = WALLET_RPC_ERROR_CODE_WRONG_ADDRESS;
er.message = std::string("Invalid address");
return false;
res.valid = false;
return true;
}
//------------------------------------------------------------------------------------------------------------------------------
bool wallet_rpc_server::on_set_daemon(const wallet_rpc::COMMAND_RPC_SET_DAEMON::request& req, wallet_rpc::COMMAND_RPC_SET_DAEMON::response& res, epee::json_rpc::error& er, const connection_context *ctx)