MCPcopy Create free account
hub / github.com/bcndev/bytecoin / process_waiting_command_error

Method process_waiting_command_error

src/Core/WalletNode.cpp:859–869  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

857}
858
859void WalletNode::process_waiting_command_error(std::string err) {
860 WaitingClient cli = std::move(m_waiting_command_requests.front());
861 m_waiting_command_requests.pop_front();
862 m_command_request.reset();
863
864 if (cli.original_who) {
865 auto err_fun = std::move(cli.err_fun);
866 err_fun(cli, err);
867 }
868 send_next_waiting_command();
869}
870
871void WalletNode::send_next_waiting_command() {
872 if (m_waiting_command_requests.empty() || m_command_request)

Callers

nothing calls this directly

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected