polkadot-js / extension

Simple browser extension for managing Polkadot and Substrate network accounts in a browser. Allows the signing of extrinsics using these accounts. Also provides a simple interface for compliant extensions for dapps.
Apache License 2.0
968 stars 405 forks source link

Signing invalid transaction stops extension from working #1275

Open Robiquet opened 12 months ago

Robiquet commented 12 months ago

Using the following code in the browser:

tx.signAndSend(
          signer.address,
          { signer: signer.signer, assetId: { ForeignAsset: 0 } },...

Causes:

image

The "Back to home" button doesn't do anything so my extension is stuck in this state. Closing and opening the browser doesn't help