diff options
author | chriseth <chris@ethereum.org> | 2018-12-06 17:04:58 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-06 17:04:58 +0800 |
commit | 5a08ae5e719820ba6d34a66187304747cf5c061f (patch) | |
tree | 8c7cc409fd8155580947ecf7a0f5fd385fe0336f /libevmasm/AssemblyItem.cpp | |
parent | 15e28fa444843d6b8e5bef81ae9fc73a41ae97f6 (diff) | |
parent | 936c67415ae058984c5666c44bf68fd1ebfaf23a (diff) | |
download | dexon-solidity-5a08ae5e719820ba6d34a66187304747cf5c061f.tar dexon-solidity-5a08ae5e719820ba6d34a66187304747cf5c061f.tar.gz dexon-solidity-5a08ae5e719820ba6d34a66187304747cf5c061f.tar.bz2 dexon-solidity-5a08ae5e719820ba6d34a66187304747cf5c061f.tar.lz dexon-solidity-5a08ae5e719820ba6d34a66187304747cf5c061f.tar.xz dexon-solidity-5a08ae5e719820ba6d34a66187304747cf5c061f.tar.zst dexon-solidity-5a08ae5e719820ba6d34a66187304747cf5c061f.zip |
Merge pull request #5600 from ethereum/simplifyToHex
Simplify toHex()
Diffstat (limited to 'libevmasm/AssemblyItem.cpp')
-rw-r--r-- | libevmasm/AssemblyItem.cpp | 2 |
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()); |