mirror of https://github.com/status-im/op-geth.git
Make inner size before assinging. Closes #615
This commit is contained in:
parent
c8e5d53a39
commit
101ea1a1e8
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue