aboutsummaryrefslogtreecommitdiffstats
path: root/hexPrefix.cpp
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-03-05 01:46:26 +0800
committerGav Wood <i@gavwood.com>2014-03-05 01:46:26 +0800
commitf171b2f9767a09fa008ee6e6ba701311c96f966f (patch)
tree6c72eb645625b619da6f0dd29d3dc2497b0ca090 /hexPrefix.cpp
parentea1d3eb16eb445a4ad20bb7bd9f7aca219e8489a (diff)
downloaddexon-solidity-f171b2f9767a09fa008ee6e6ba701311c96f966f.tar.gz
dexon-solidity-f171b2f9767a09fa008ee6e6ba701311c96f966f.tar.zst
dexon-solidity-f171b2f9767a09fa008ee6e6ba701311c96f966f.zip
Repotted Common.h.
Diffstat (limited to 'hexPrefix.cpp')
-rw-r--r--hexPrefix.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/hexPrefix.cpp b/hexPrefix.cpp
index b8bc1f48..62f4d491 100644
--- a/hexPrefix.cpp
+++ b/hexPrefix.cpp
@@ -24,6 +24,7 @@
#include "../json_spirit/json_spirit_reader_template.h"
#include "../json_spirit/json_spirit_writer_template.h"
#include "TrieCommon.h"
+#include "Log.h"
using namespace std;
using namespace eth;
namespace js = json_spirit;
@@ -48,11 +49,11 @@ public:
for (auto& i: o["seq"].get_array())
v.push_back((byte)i.get_int());
auto e = hexPrefixEncode(v, o["term"].get_bool());
- if (!o["out"].is_null() && o["out"].get_str() != asHex(e))
+ if (!o["out"].is_null() && o["out"].get_str() != toHex(e))
{
cwarn << "Test failed.";
cwarn << "Test says:" << o["out"].get_str();
- cwarn << "Impl says:" << asHex(e);
+ cwarn << "Impl says:" << toHex(e);
passed = false;
}
}