mirror of
https://github.com/monero-project/monero.git
synced 2025-08-01 23:06:08 -04:00
functional_tests: add validate_address tests
This commit is contained in:
parent
8adde33e01
commit
7d9b7fee43
3 changed files with 126 additions and 3 deletions
|
@ -4089,9 +4089,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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue