MetaMask / MetaMask/metamask-mobile
[Bug]: Wrong error message shown for withdraw transaction
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 1.7k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 669
Description
**Describe the bug**
I got an STX cancelled: FAILED_TIMEOUT error but the withdraw transaction actually failed because it was refunded by Relay.
https://www.relay.link/transaction/0x98102af7abba5bb0c0457969c0f01e01b172033f9e5fae48468dac1b176fb031
Once this happens the the funds are gone from the Predict account. It seems Relay refunds the EOA instead of the Proxy account - is this expected? This would be confusing to the user to not know where their funds are in case of refunds.
**Expected behavior**
Withdraw fail with Relay refund error.
**Screenshots/Recordings**
**Steps to reproduce**
Unclear
I got it with Predict withdrawal to BNB on BNB
**Error messages or log output**
```shell
```
**Where was this bug found?**
Internal release testing
**Version**
7.68.0
**Build number**
3875
**Build type**
None
**Device**
iphone 11
**Operating system**
iOS
Contributor guide
Assessment
This issue has not been assessed yet.