Commit bf8fb1b4 authored by vipwzw's avatar vipwzw

auto ci

parent 0af50092
...@@ -19,9 +19,10 @@ package abi ...@@ -19,9 +19,10 @@ package abi
import ( import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/33cn/plugin/plugin/dapp/evm/executor/vm/common"
"reflect" "reflect"
"strings" "strings"
"github.com/33cn/plugin/plugin/dapp/evm/executor/vm/common"
) )
// Argument holds the name of the argument and the corresponding type. // Argument holds the name of the argument and the corresponding type.
...@@ -217,7 +218,7 @@ func (arguments Arguments) UnpackValues(data []byte) ([]interface{}, error) { ...@@ -217,7 +218,7 @@ func (arguments Arguments) UnpackValues(data []byte) ([]interface{}, error) {
// Decrement it by 1, as the normal index increment is still applied. // Decrement it by 1, as the normal index increment is still applied.
virtualArgs += getArraySize(&arg.Type) - 1 virtualArgs += getArraySize(&arg.Type) - 1
} else if arg.Type.T == AddressTy { } else if arg.Type.T == AddressTy {
if H160Addr , ok := marshalledValue.(common.Hash160Address); ok { if H160Addr, ok := marshalledValue.(common.Hash160Address); ok {
marshalledValue = H160Addr.ToAddress().String() marshalledValue = H160Addr.ToAddress().String()
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment