diff options
author | Martin Holst Swende <martin@swende.se> | 2017-12-28 18:17:45 +0800 |
---|---|---|
committer | Martin Holst Swende <martin@swende.se> | 2018-02-21 19:27:50 +0800 |
commit | 1ede68355db6adbf468d198a8d1ecb0ad1a3ea31 (patch) | |
tree | 288e71dbf81a19030f36f507d6b91bd42f3ba979 /accounts/abi/unpack_test.go | |
parent | 5603715c06998ff9ed30eb134c4398ad1439ef48 (diff) | |
download | dexon-1ede68355db6adbf468d198a8d1ecb0ad1a3ea31.tar dexon-1ede68355db6adbf468d198a8d1ecb0ad1a3ea31.tar.gz dexon-1ede68355db6adbf468d198a8d1ecb0ad1a3ea31.tar.bz2 dexon-1ede68355db6adbf468d198a8d1ecb0ad1a3ea31.tar.lz dexon-1ede68355db6adbf468d198a8d1ecb0ad1a3ea31.tar.xz dexon-1ede68355db6adbf468d198a8d1ecb0ad1a3ea31.tar.zst dexon-1ede68355db6adbf468d198a8d1ecb0ad1a3ea31.zip |
accounts/abi: add another unpack interface
Diffstat (limited to 'accounts/abi/unpack_test.go')
-rw-r--r-- | accounts/abi/unpack_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts/abi/unpack_test.go b/accounts/abi/unpack_test.go index a65426a30..e9f910812 100644 --- a/accounts/abi/unpack_test.go +++ b/accounts/abi/unpack_test.go @@ -130,7 +130,7 @@ var unpackTests = []unpackTest{ { def: `[{"type": "bytes32"}]`, enc: "0100000000000000000000000000000000000000000000000000000000000000", - want: common.HexToHash("0100000000000000000000000000000000000000000000000000000000000000"), + want: [32]byte{1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, }, { def: `[{"type": "function"}]`, |