Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constant pending of TrustWallet #312

Open
Aliona-D opened this issue Feb 28, 2024 · 1 comment
Open

Constant pending of TrustWallet #312

Aliona-D opened this issue Feb 28, 2024 · 1 comment

Comments

@Aliona-D
Copy link

Hi! I got this error when I approve TokenContract (when I am doing a transaction). With MetaMask extension the same code works fine. How can it be fixed?
Error_TrustWallet

@Aliona-D Aliona-D changed the title Constant pending of TrustWallet. Error: Could not establish connection. Receiving end does not exist Constant pending of TrustWallet Feb 28, 2024
@uncleGena
Copy link

Same. Approve on token contract.

const data = contractERC20Token.interface.encodeFunctionData('approve', [
  addressContractToApprove, // string
  amountToApprove, // bigint
])

const tx = await signer.sendTransaction({
  to: contractERC20TokenAddress, // string
  data, // string
})

It starts with loading and window keeps loading, sometymes forever and only reinstall extension helps.
Although this error appears when doing same transaction again.

Error: Request of type 'PUBLIC_signTransaction' already pending for origin...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@uncleGena @Aliona-D and others