Fix: fix compilation warning (#14273)
This commit is contained in:
parent
8d6454367a
commit
6883db3b58
|
@ -89,8 +89,6 @@ proc contractUniqueKey*(chainId: int, contractAddress: string): string =
|
||||||
return $chainId & "_" & contractAddress
|
return $chainId & "_" & contractAddress
|
||||||
|
|
||||||
proc intersectSeqs*[T](seq1, seq2: seq[T]): seq[T] =
|
proc intersectSeqs*[T](seq1, seq2: seq[T]): seq[T] =
|
||||||
var result: seq[T] = @[]
|
|
||||||
for item in seq1:
|
for item in seq1:
|
||||||
if item in seq2:
|
if item in seq2:
|
||||||
result.add(item)
|
result.add(item)
|
||||||
return result
|
|
Loading…
Reference in New Issue