diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-17 06:10:26 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-17 06:10:26 +0800 |
commit | 843db4978e876674ca111706880a58c84202880d (patch) | |
tree | 6d565f14ae8ed2524c73e478e301891c4d86436e /vm/vm.go | |
parent | 4e181c5764b78193705f91d3220710bb63b8962f (diff) | |
download | dexon-843db4978e876674ca111706880a58c84202880d.tar.gz dexon-843db4978e876674ca111706880a58c84202880d.tar.zst dexon-843db4978e876674ca111706880a58c84202880d.zip |
updated blockpool
Diffstat (limited to 'vm/vm.go')
-rw-r--r-- | vm/vm.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -560,10 +560,10 @@ func (self *Vm) Run(context *Context, callData []byte) (ret []byte, err error) { self.Printf(" => [%d]", n) case LOG0, LOG1, LOG2, LOG3, LOG4: n := int(op - LOG0) - topics := make([][]byte, n) + topics := make([]common.Hash, n) mStart, mSize := stack.pop(), stack.pop() for i := 0; i < n; i++ { - topics[i] = common.LeftPadBytes(stack.pop().Bytes(), 32) + topics[i] = common.BigToHash(stack.pop()) //common.LeftPadBytes(stack.pop().Bytes(), 32) } data := mem.Get(mStart.Int64(), mSize.Int64()) |