Skip to content

Commit ae7b2de

Browse files
authored
ie-contract: Disable JSON-RPC polling (#451)
1 parent 626d98a commit ae7b2de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/lib/ie-contract.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import * as SparkImpactEvaluator from '@filecoin-station/spark-impact-evaluator'
55
const provider = new ethers.FallbackProvider(rpcUrls.map(rpcUrl => {
66
const fetchRequest = new ethers.FetchRequest(rpcUrl)
77
fetchRequest.setHeader('Authorization', `Bearer ${GLIF_TOKEN}`)
8-
return new ethers.JsonRpcProvider(fetchRequest, null, { polling: true })
8+
return new ethers.JsonRpcProvider(fetchRequest)
99
}))
1010

1111
// Uncomment for troubleshooting

0 commit comments

Comments
 (0)