mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
removed resize
This commit is contained in:
parent
2dfe5b1517
commit
75660470d2
@ -77,7 +77,6 @@ struct Setup
|
|||||||
string fromAscii(string _s)
|
string fromAscii(string _s)
|
||||||
{
|
{
|
||||||
bytes b = asBytes(_s);
|
bytes b = asBytes(_s);
|
||||||
b.resize(max<unsigned>(b.size(), 32));
|
|
||||||
return "0x" + toHex(b);
|
return "0x" + toHex(b);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user