Make inner size before assinging. Closes #615

This commit is contained in:
Taylor Gerring 2015-04-01 14:15:20 +02:00
parent c8e5d53a39
commit 101ea1a1e8
1 changed files with 1 additions and 0 deletions

View File

@ -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)
}