diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-04-01 20:15:20 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-04-01 20:15:20 +0800 |
commit | 101ea1a1e8e8f7b0592dbd06e4eca8432e2e2527 (patch) | |
tree | ed0d871bfa0f809fa1c2725fd7468dd88bdc9b4b | |
parent | c8e5d53a3909274f9d648d17c7003417e6e82a87 (diff) | |
download | dexon-101ea1a1e8e8f7b0592dbd06e4eca8432e2e2527.tar dexon-101ea1a1e8e8f7b0592dbd06e4eca8432e2e2527.tar.gz dexon-101ea1a1e8e8f7b0592dbd06e4eca8432e2e2527.tar.bz2 dexon-101ea1a1e8e8f7b0592dbd06e4eca8432e2e2527.tar.lz dexon-101ea1a1e8e8f7b0592dbd06e4eca8432e2e2527.tar.xz dexon-101ea1a1e8e8f7b0592dbd06e4eca8432e2e2527.tar.zst dexon-101ea1a1e8e8f7b0592dbd06e4eca8432e2e2527.zip |
Make inner size before assinging. Closes #615
-rw-r--r-- | xeth/xeth.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go index 5a5a4650a..5936c0fb2 100644 --- a/xeth/xeth.go +++ b/xeth/xeth.go @@ -122,6 +122,7 @@ func cAddress(a []string) []common.Address { func cTopics(t [][]string) [][]common.Hash { topics := make([][]common.Hash, len(t)) for i, iv := range t { + topics[i] = make([]common.Hash, len(iv)) for j, jv := range iv { topics[i][j] = common.HexToHash(jv) } |