mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Prefix "0x" to library placeholder.
This commit is contained in:
parent
e8ba2d6e46
commit
4d6d224cf8
@ -61,7 +61,7 @@ string LinkerObject::toHex() const
|
|||||||
|
|
||||||
string LinkerObject::libraryPlaceholder(string const& _libraryName)
|
string LinkerObject::libraryPlaceholder(string const& _libraryName)
|
||||||
{
|
{
|
||||||
return keccak256(_libraryName).hex().substr(0, 36);
|
return "0x" + keccak256(_libraryName).hex().substr(0, 34);
|
||||||
}
|
}
|
||||||
|
|
||||||
h160 const*
|
h160 const*
|
||||||
|
Loading…
Reference in New Issue
Block a user