Prefix "0x" to library placeholder.

This commit is contained in:
chriseth committed 2018-10-12 15:15:01 +02:00
1 parent e8ba2d6e46
commit 4d6d224cf8
1 file changed
+1 -1
+1 -1
View File
@@ -61,7 +61,7 @@ string LinkerObject::toHex() const
string LinkerObject::libraryPlaceholder(string const& _libraryName)
{
return keccak256(_libraryName).hex().substr(0, 36);
return "0x" + keccak256(_libraryName).hex().substr(0, 34);
}
h160 const*