metamask-mobile icon indicating copy to clipboard operation
metamask-mobile copied to clipboard

[Bug]: Duplicate offramp transaction prompt when using smart transactions

Open georgeweiler opened this issue 8 months ago • 1 comments

Describe the bug

When smart transactions are enabled, the offramp txn prompt is re-triggered after submitting. This allows users to send multiple transactions. Error "origin is required" is displayed.

Expected behavior

After submitting an offramp transaction, the order details page should be displayed with a "processing" message while the user waits for the transaction to complete

Screenshots/Recordings

https://github.com/MetaMask/metamask-mobile/assets/15269424/885c3204-359c-4bdb-a3d3-a58da7177fde

Steps to reproduce

  1. turn on smart transactions
  2. complete a sell order
  3. submit the transaction and see that another transaction prompt is displayed

Error messages or log output

origin is required

Version

7.24.0

Build type

None

Device

iOS and android

Operating system

iOS, Android

Additional context

No response

Severity

No response

georgeweiler avatar Jun 24 '24 22:06 georgeweiler