mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-23 03:51:09 +00:00
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
Block a user