| 439 | } |
| 440 | |
| 441 | static bool ExecuteCommands(const std::vector<const CRPCCommand*>& commands, const JSONRPCRequest& request, UniValue& result) |
| 442 | { |
| 443 | for (const auto& command : commands) { |
| 444 | if (ExecuteCommand(*command, request, result, &command == &commands.back())) { |
| 445 | return true; |
| 446 | } |
| 447 | } |
| 448 | return false; |
| 449 | } |
| 450 | |
| 451 | UniValue CRPCTable::execute(const JSONRPCRequest &request) const |
| 452 | { |
no test coverage detected