William Banfield
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
state/indexer/sink/psql/psql_test.go
|
|
@ -293,6 +293,7 @@ func verifyBlock(h int64) (bool, error) { |
|
|
|
if err != nil { |
|
|
|
return false, err |
|
|
|
} |
|
|
|
defer rows.Close() |
|
|
|
|
|
|
|
if !rows.Next() { |
|
|
|
return false, nil |
|
|
@ -308,6 +309,7 @@ func verifyBlock(h int64) (bool, error) { |
|
|
|
if err != nil { |
|
|
|
return false, err |
|
|
|
} |
|
|
|
defer rows.Close() |
|
|
|
|
|
|
|
return rows.Next(), nil |
|
|
|
} |
|
|
|