aboutsummaryrefslogtreecommitdiffstats
path: root/libevmasm
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-12-06 05:11:31 +0800
committerchriseth <chris@ethereum.org>2018-12-06 05:51:49 +0800
commitbc6ddbdd09860542061baed8df993cb3dafaa406 (patch)
tree086050790c74a5d75eed165a545df11f9b554619 /libevmasm
parente8455c2a6d33abbebfe678fdaa1728311838e21a (diff)
downloaddexon-solidity-bc6ddbdd09860542061baed8df993cb3dafaa406.tar.gz
dexon-solidity-bc6ddbdd09860542061baed8df993cb3dafaa406.tar.zst
dexon-solidity-bc6ddbdd09860542061baed8df993cb3dafaa406.zip
Remove `w` parameter for toHex.
Diffstat (limited to 'libevmasm')
-rw-r--r--libevmasm/AssemblyItem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libevmasm/AssemblyItem.cpp b/libevmasm/AssemblyItem.cpp
index 52f246d1..be3b1026 100644
--- a/libevmasm/AssemblyItem.cpp
+++ b/libevmasm/AssemblyItem.cpp
@@ -168,7 +168,7 @@ string AssemblyItem::toAssemblyText() const
break;
}
case Push:
- text = toHex(toCompactBigEndian(data(), 1), 1, HexPrefix::Add);
+ text = toHex(toCompactBigEndian(data(), 1), HexPrefix::Add);
break;
case PushString:
text = string("data_") + toHex(data());