diff --git a/libevmasm/LinkerObject.cpp b/libevmasm/LinkerObject.cpp index 0ac69966e..e9c739086 100644 --- a/libevmasm/LinkerObject.cpp +++ b/libevmasm/LinkerObject.cpp @@ -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*