Closed mehtaphysical closed 3 years ago
See this transaction: https://explorer.near.org/transactions/BMJ1y25EccqtsXraUsfuMTX9mVBo3DqPXfpQyHsiuquu.
If the withdraw fails, the tokens that were attempted to withdraw are kept in the contract but are no longer associated with the users account.
We fixed this on the front end: https://github.com/ref-finance/ref-ui/pull/28
But probably want to fix this in the contract as well.
See this transaction: https://explorer.near.org/transactions/BMJ1y25EccqtsXraUsfuMTX9mVBo3DqPXfpQyHsiuquu.
If the withdraw fails, the tokens that were attempted to withdraw are kept in the contract but are no longer associated with the users account.
We fixed this on the front end: https://github.com/ref-finance/ref-ui/pull/28
But probably want to fix this in the contract as well.