Fix: fix compilation warning (#14273)

This commit is contained in:
Mikhail Rogachev 2024-04-04 16:42:37 +02:00 committed by GitHub
parent 8d6454367a
commit 6883db3b58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 3 deletions

View File

@ -89,8 +89,6 @@ proc contractUniqueKey*(chainId: int, contractAddress: string): string =
return $chainId & "_" & contractAddress
proc intersectSeqs*[T](seq1, seq2: seq[T]): seq[T] =
var result: seq[T] = @[]
for item in seq1:
if item in seq2:
result.add(item)
return result
result.add(item)