aboutsummaryrefslogtreecommitdiffstats
path: root/ethutil
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-04-11 06:14:19 +0800
committerobscuren <geffobscura@gmail.com>2014-04-11 06:14:19 +0800
commit891f7259091cba0fe5e8c9370e7b0b1055b56683 (patch)
tree216326e73f2c3c893b942ed7c016d2327c1367e2 /ethutil
parent969e748dce5562fc543990b6911d53ab699e393e (diff)
downloaddexon-891f7259091cba0fe5e8c9370e7b0b1055b56683.tar
dexon-891f7259091cba0fe5e8c9370e7b0b1055b56683.tar.gz
dexon-891f7259091cba0fe5e8c9370e7b0b1055b56683.tar.bz2
dexon-891f7259091cba0fe5e8c9370e7b0b1055b56683.tar.lz
dexon-891f7259091cba0fe5e8c9370e7b0b1055b56683.tar.xz
dexon-891f7259091cba0fe5e8c9370e7b0b1055b56683.tar.zst
dexon-891f7259091cba0fe5e8c9370e7b0b1055b56683.zip
Added better address format
Diffstat (limited to 'ethutil')
-rw-r--r--ethutil/parsing.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/ethutil/parsing.go b/ethutil/parsing.go
index 0de396654..278414982 100644
--- a/ethutil/parsing.go
+++ b/ethutil/parsing.go
@@ -51,7 +51,10 @@ var OpCodes = map[string]byte{
"GASLIMIT": 0x45,
// 0x50 range - 'storage' and execution
- "PUSH": 0x50,
+ "PUSH": 0x50,
+
+ "PUSH20": 0x80,
+
"POP": 0x51,
"DUP": 0x52,
"SWAP": 0x53,