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:
parent
d872539b1f
commit
1580c38d66
@ -137,7 +137,7 @@ json_spirit::mObject& ImportTest::makeAllFieldsHex(json_spirit::mObject& _o)
|
|||||||
str = value.get_str();
|
str = value.get_str();
|
||||||
else continue;
|
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;
|
return _o;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user