Repotted Common.h.

This commit is contained in:
Gav Wood
2014-03-04 11:46:26 -06:00
parent ea1d3eb16e
commit f171b2f976
7 changed files with 31 additions and 26 deletions
+3 -2
View File
@@ -23,6 +23,7 @@
#include <fstream>
#include "../json_spirit/json_spirit_reader_template.h"
#include "../json_spirit/json_spirit_writer_template.h"
#include <Log.h>
#include <RLP.h>
using namespace std;
using namespace eth;
@@ -67,11 +68,11 @@ public:
cnote << i.first;
RLPStream s;
buildRLP(o["in"], s);
if (!o["out"].is_null() && o["out"].get_str() != asHex(s.out()))
if (!o["out"].is_null() && o["out"].get_str() != toHex(s.out()))
{
cwarn << "Test failed.";
cwarn << "Test says:" << o["out"].get_str();
cwarn << "Impl says:" << asHex(s.out());
cwarn << "Impl says:" << toHex(s.out());
passed = false;
}
}