| 152 | } |
| 153 | |
| 154 | static int NetMagic(const std::vector<std::string>& args, std::string& strPrint) |
| 155 | { |
| 156 | if (!args.empty()) { |
| 157 | strPrint = "netmagic does not take arguments"; |
| 158 | return EXIT_FAILURE; |
| 159 | } |
| 160 | |
| 161 | strPrint = HexStr(Params().MessageStart()); |
| 162 | return EXIT_SUCCESS; |
| 163 | } |
| 164 | |
| 165 | MAIN_FUNCTION |
| 166 | { |
no test coverage detected