Skip to content

Commit

Permalink
refactor: remove unused return value
Browse files Browse the repository at this point in the history
Signed-off-by: Miroslav Bajtoš <[email protected]>
  • Loading branch information
bajtos committed Mar 19, 2024
1 parent 947317c commit e784051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/spark.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default class Spark {
stats.indexerResult = indexerResult

const providerFound = indexerResult === 'OK' || indexerResult === 'HTTP_NOT_ADVERTISED'
if (!providerFound) return stats
if (!providerFound) return

stats.protocol = provider.protocol
stats.providerAddress = provider.address
Expand Down

0 comments on commit e784051

Please sign in to comment.