From 1580c38d667b3bdf4a01c878aae20efceb58e27a Mon Sep 17 00:00:00 2001 From: winsvega Date: Thu, 23 Apr 2015 17:57:59 +0300 Subject: [PATCH] blockweight: allfields to compact Hex fix --- TestHelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TestHelper.cpp b/TestHelper.cpp index b8e320e48..57ec0566d 100644 --- a/TestHelper.cpp +++ b/TestHelper.cpp @@ -137,7 +137,7 @@ json_spirit::mObject& ImportTest::makeAllFieldsHex(json_spirit::mObject& _o) str = value.get_str(); else continue; - _o[key] = (str.substr(0, 2) == "0x") ? str : toHex(toInt(str), HexPrefix::Add); + _o[key] = (str.substr(0, 2) == "0x") ? str : toCompactHex(toInt(str), HexPrefix::Add); } return _o; }