| 15 | |
| 16 | namespace { |
| 17 | inline std::string ValueString(const std::vector<unsigned char>& vch) |
| 18 | { |
| 19 | if (vch.size() <= 4) |
| 20 | return strprintf("%d", CScriptNum(vch, false).getint()); |
| 21 | else |
| 22 | return HexStr(vch); |
| 23 | } |
| 24 | } // anon namespace |
| 25 | |
| 26 | using namespace std; |
no test coverage detected