aboutsummaryrefslogtreecommitdiffstats
path: root/TestHelper.cpp
diff options
context:
space:
mode:
authorwinsvega <winsvega@mail.ru>2015-04-23 22:57:59 +0800
committerwinsvega <winsvega@mail.ru>2015-04-24 21:03:14 +0800
commit1580c38d667b3bdf4a01c878aae20efceb58e27a (patch)
treeed99ace429098f64592c304c50268cc5e9d8beea /TestHelper.cpp
parentd872539b1fd74452137309ac94fbb89e4faf6f43 (diff)
downloaddexon-solidity-1580c38d667b3bdf4a01c878aae20efceb58e27a.tar
dexon-solidity-1580c38d667b3bdf4a01c878aae20efceb58e27a.tar.gz
dexon-solidity-1580c38d667b3bdf4a01c878aae20efceb58e27a.tar.bz2
dexon-solidity-1580c38d667b3bdf4a01c878aae20efceb58e27a.tar.lz
dexon-solidity-1580c38d667b3bdf4a01c878aae20efceb58e27a.tar.xz
dexon-solidity-1580c38d667b3bdf4a01c878aae20efceb58e27a.tar.zst
dexon-solidity-1580c38d667b3bdf4a01c878aae20efceb58e27a.zip
blockweight: allfields to compact Hex fix
Diffstat (limited to 'TestHelper.cpp')
-rw-r--r--TestHelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TestHelper.cpp b/TestHelper.cpp
index b8e320e4..57ec0566 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;
}