mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Minor rename.
Report errors properly.
This commit is contained in:
parent
3d1364698f
commit
ca740a924b
@ -240,7 +240,7 @@ byte toByte(json_spirit::mValue const& _v)
|
|||||||
|
|
||||||
bytes importByteArray(std::string const& _str)
|
bytes importByteArray(std::string const& _str)
|
||||||
{
|
{
|
||||||
return fromHex(_str.substr(0, 2) == "0x" ? _str.substr(2) : _str, ThrowType::Throw);
|
return fromHex(_str.substr(0, 2) == "0x" ? _str.substr(2) : _str, WhenError::Throw);
|
||||||
}
|
}
|
||||||
|
|
||||||
bytes importData(json_spirit::mObject& _o)
|
bytes importData(json_spirit::mObject& _o)
|
||||||
|
Loading…
Reference in New Issue
Block a user