aboutsummaryrefslogtreecommitdiffstats
path: root/libevmasm/LinkerObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libevmasm/LinkerObject.cpp')
-rw-r--r--libevmasm/LinkerObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libevmasm/LinkerObject.cpp b/libevmasm/LinkerObject.cpp
index 0ac69966..e9c73908 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*