aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/abi/unpack_test.go
diff options
context:
space:
mode:
authorMartin Holst Swende <martin@swende.se>2017-12-28 18:17:45 +0800
committerMartin Holst Swende <martin@swende.se>2018-02-21 19:27:50 +0800
commit1ede68355db6adbf468d198a8d1ecb0ad1a3ea31 (patch)
tree288e71dbf81a19030f36f507d6b91bd42f3ba979 /accounts/abi/unpack_test.go
parent5603715c06998ff9ed30eb134c4398ad1439ef48 (diff)
downloadgo-tangerine-1ede68355db6adbf468d198a8d1ecb0ad1a3ea31.tar
go-tangerine-1ede68355db6adbf468d198a8d1ecb0ad1a3ea31.tar.gz
go-tangerine-1ede68355db6adbf468d198a8d1ecb0ad1a3ea31.tar.bz2
go-tangerine-1ede68355db6adbf468d198a8d1ecb0ad1a3ea31.tar.lz
go-tangerine-1ede68355db6adbf468d198a8d1ecb0ad1a3ea31.tar.xz
go-tangerine-1ede68355db6adbf468d198a8d1ecb0ad1a3ea31.tar.zst
go-tangerine-1ede68355db6adbf468d198a8d1ecb0ad1a3ea31.zip
accounts/abi: add another unpack interface
Diffstat (limited to 'accounts/abi/unpack_test.go')
-rw-r--r--accounts/abi/unpack_test.go2
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"}]`,