mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
blockweight: allfields to compact Hex fix
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user