Skip to content

Commit a0e19ef

Browse files
committed
use provider defaults (glif adjusted)
1 parent ba0cb81 commit a0e19ef

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

bin/cancel-all-pending-txs.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,7 @@ async function listPendingTransactions (f0address) {
112112
function createSigner () {
113113
const fetchRequest = new ethers.FetchRequest('https://api.node.glif.io/rpc/v1')
114114
fetchRequest.setHeader('Authorization', `Bearer ${GLIF_TOKEN}`)
115-
const provider = new ethers.JsonRpcProvider(fetchRequest, null, {
116-
polling: true,
117-
batchMaxCount: 10
118-
})
115+
const provider = new ethers.JsonRpcProvider(fetchRequest)
119116

120117
const signer = ethers.Wallet.fromPhrase(WALLET_SEED, provider)
121118
const walletDelegatedAddress = newDelegatedEthAddress(/** @type {any} */(signer.address), CoinType.MAIN).toString()

0 commit comments

Comments
 (0)