forked from lthn/blockchain
wallet: minor improvements (override keyword) 2
This commit is contained in:
parent
fead9075b6
commit
d28a0e1b13
1 changed files with 8 additions and 3 deletions
|
|
@ -57,7 +57,9 @@ namespace tools
|
|||
{
|
||||
wallet_provider_simple(std::shared_ptr<wallet2> wallet_ptr) : m_wallet_ptr(wallet_ptr)
|
||||
{}
|
||||
virtual std::shared_ptr<wallet2> get_wallet()
|
||||
|
||||
// interface i_wallet_provider
|
||||
virtual std::shared_ptr<wallet2> get_wallet() override
|
||||
{
|
||||
return m_wallet_ptr;
|
||||
}
|
||||
|
|
@ -90,13 +92,16 @@ namespace tools
|
|||
bool run(bool do_mint, bool offline_mode, const currency::account_public_address& miner_address);
|
||||
|
||||
virtual bool handle_http_request(const epee::net_utils::http::http_request_info& query_info, epee::net_utils::http::http_response_info& response_info,
|
||||
connection_context& conn_context) {
|
||||
connection_context& conn_context)
|
||||
{
|
||||
bool call_found = false;
|
||||
return this->handle_http_request(query_info, response_info, conn_context, call_found, epee::net_utils::http::i_chain_handler::m_empty_documentation);
|
||||
}
|
||||
|
||||
// interface i_chain_handler
|
||||
virtual bool handle_http_request(const epee::net_utils::http::http_request_info& query_info, epee::net_utils::http::http_response_info& response_info,
|
||||
epee::net_utils::connection_context_base& conn_context, bool& call_found, documentation& docs = epee::net_utils::http::i_chain_handler::m_empty_documentation);
|
||||
epee::net_utils::connection_context_base& conn_context, bool& call_found, documentation& docs = epee::net_utils::http::i_chain_handler::m_empty_documentation) override;
|
||||
|
||||
void set_jwt_secret(const std::string& jwt);
|
||||
const std::string& get_jwt_secret();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue