Remove w parameter for toHex.

This commit is contained in:
chriseth
2018-12-05 22:51:49 +01:00
parent e8455c2a6d
commit bc6ddbdd09
8 changed files with 15 additions and 16 deletions
+1 -1
View File
@@ -1008,7 +1008,7 @@ BOOST_AUTO_TEST_CASE(sub_assemblies)
compileAndRun(sourceCode);
bytes ret = callFallback();
BOOST_REQUIRE(ret.size() == 32);
u256 rVal = u256(toHex(ret, 2, HexPrefix::Add));
u256 rVal = u256(toHex(ret, HexPrefix::Add));
BOOST_CHECK(rVal != 0);
BOOST_CHECK(rVal < u256("0x10000000000000000000000000000000000000000"));
}