| 857 | } |
| 858 | |
| 859 | void 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 | |
| 871 | void WalletNode::send_next_waiting_command() { |
| 872 | if (m_waiting_command_requests.empty() || m_command_request) |