Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #220 from hermeznetwork/fix-deposit
Browse files Browse the repository at this point in the history
fix deposit
  • Loading branch information
adrifdez authored Dec 14, 2021
2 parents 992f002 + 839c2a0 commit 966b384
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/tx.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,7 @@ const deposit = async (
const accounts = await getAccounts(hezEthereumAddress, [token.id])
.catch(() => undefined)
const account = typeof accounts !== 'undefined' ? accounts.accounts[0] : null

const overrides = {
gasPrice: await getGasPrice(providerUrl)
}
const overrides = await getGasPrice(providerUrl)

const usePermit = await isPermitSupported(fromTokenContract)
const permitSignature =
Expand Down

0 comments on commit 966b384

Please sign in to comment.