aboutsummaryrefslogtreecommitdiffstats
path: root/libevmasm/LinkerObject.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-10-08 21:08:12 +0800
committerchriseth <chris@ethereum.org>2018-10-12 21:15:02 +0800
commit26c693aa920ec1ea41ef7994a3dc8bb45b78f866 (patch)
treeaa95184ed3f52c80e216fc20706c22ddb71d6fc6 /libevmasm/LinkerObject.cpp
parent4d6d224cf83195db8dcea1f5015a68d1ce2dca0f (diff)
downloaddexon-solidity-26c693aa920ec1ea41ef7994a3dc8bb45b78f866.tar.gz
dexon-solidity-26c693aa920ec1ea41ef7994a3dc8bb45b78f866.tar.zst
dexon-solidity-26c693aa920ec1ea41ef7994a3dc8bb45b78f866.zip
Change library placeholder to `__$<hash>$__`.
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 e9c73908..a11f2378 100644
--- a/libevmasm/LinkerObject.cpp
+++ b/libevmasm/LinkerObject.cpp
@@ -61,7 +61,7 @@ string LinkerObject::toHex() const
string LinkerObject::libraryPlaceholder(string const& _libraryName)
{
- return "0x" + keccak256(_libraryName).hex().substr(0, 34);
+ return "$" + keccak256(_libraryName).hex().substr(0, 34) + "$";
}
h160 const*