aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-04-01 20:15:20 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-04-01 20:15:20 +0800
commit101ea1a1e8e8f7b0592dbd06e4eca8432e2e2527 (patch)
treeed0d871bfa0f809fa1c2725fd7468dd88bdc9b4b
parentc8e5d53a3909274f9d648d17c7003417e6e82a87 (diff)
downloadgo-tangerine-101ea1a1e8e8f7b0592dbd06e4eca8432e2e2527.tar.gz
go-tangerine-101ea1a1e8e8f7b0592dbd06e4eca8432e2e2527.tar.zst
go-tangerine-101ea1a1e8e8f7b0592dbd06e4eca8432e2e2527.zip
Make inner size before assinging. Closes #615
-rw-r--r--xeth/xeth.go1
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)
}