Skip to content

Commit

Permalink
use provider defaults (glif adjusted)
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangruber committed Nov 11, 2024
1 parent ba0cb81 commit a0e19ef
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions bin/cancel-all-pending-txs.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,7 @@ async function listPendingTransactions (f0address) {
function createSigner () {
const fetchRequest = new ethers.FetchRequest('https://api.node.glif.io/rpc/v1')
fetchRequest.setHeader('Authorization', `Bearer ${GLIF_TOKEN}`)
const provider = new ethers.JsonRpcProvider(fetchRequest, null, {
polling: true,
batchMaxCount: 10
})
const provider = new ethers.JsonRpcProvider(fetchRequest)

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

0 comments on commit a0e19ef

Please sign in to comment.