mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-28 08:37:22 +00:00
Make inner size before assinging. Closes #615
This commit is contained in:
parent
c8e5d53a39
commit
101ea1a1e8
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue