mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Commandline interface for gas estimation.
This commit is contained in:
parent
dadde12178
commit
06890e5428
@ -86,7 +86,7 @@ private:
|
|||||||
inline std::ostream& operator<<(std::ostream& _str, GasMeter::GasConsumption const& _consumption)
|
inline std::ostream& operator<<(std::ostream& _str, GasMeter::GasConsumption const& _consumption)
|
||||||
{
|
{
|
||||||
if (_consumption.isInfinite)
|
if (_consumption.isInfinite)
|
||||||
return _str << "inf";
|
return _str << "[???]";
|
||||||
else
|
else
|
||||||
return _str << std::dec << _consumption.value;
|
return _str << std::dec << _consumption.value;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user