From 101ea1a1e8e8f7b0592dbd06e4eca8432e2e2527 Mon Sep 17 00:00:00 2001 From: Taylor Gerring Date: Wed, 1 Apr 2015 14:15:20 +0200 Subject: Make inner size before assinging. Closes #615 --- xeth/xeth.go | 1 + 1 file changed, 1 insertion(+) (limited to 'xeth') 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) } -- cgit