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

Transactions getting rejected #8

Open
Agn223 opened this issue Jul 13, 2021 · 5 comments
Open

Transactions getting rejected #8

Agn223 opened this issue Jul 13, 2021 · 5 comments

Comments

@Agn223
Copy link

Agn223 commented Jul 13, 2021

Discord ID: abra#2539
Description: Not able to repay 100% of the remaining borrowed amount . The transaction is getting rejected all the time .
The transaction gets approved if the amount is lesser than maximum .
Recreation : Borrow 0.01 to the USDC asset . The borrowed amount should be around 0.01 now .
Go to repay option and move the slider to maximum . After approving the transaction it would show the transaction has been rejected error.
TID for reference : 4Axiz5i3kSiJ87TNanEz4MTVT5837aby6x7WoGj118Y7ewENZeRMQBE9R3mhdpXXpWVp7nzyquSLnsweYAYYFp6A
Screenshot (151)
Screenshot (152)
SPL : annauneRTfWLawrWW89PuYGwcRtjpnrp6yR2D9pEDfW

@froggolini
Copy link

I think it just a random thing that can happen, followed your steps to reproduce and can't reproduce it.
work

@pimpcapital
Copy link
Contributor

Will investigate the TxID and bounce back

@pimpcapital
Copy link
Contributor

https://explorer.solana.com/tx/4Axiz5i3kSiJ87TNanEz4MTVT5837aby6x7WoGj118Y7ewENZeRMQBE9R3mhdpXXpWVp7nzyquSLnsweYAYYFp6A

Error message shows insufficient balance. Do you have sufficient USDC in your wallet to repay?
The current logic needs improve to consider wallet balance as well.

@Agn223
Copy link
Author

Agn223 commented Jul 14, 2021

https://explorer.solana.com/tx/4Axiz5i3kSiJ87TNanEz4MTVT5837aby6x7WoGj118Y7ewENZeRMQBE9R3mhdpXXpWVp7nzyquSLnsweYAYYFp6A

Error message shows insufficient balance. Do you have sufficient USDC in your wallet to repay?
The current logic needs improve to consider wallet balance as well.

Found the issue . USDC linked with port app was different which was added in the wallet.
Had to send USDC from the third address to the first address (Check screenshot for reference).
Screenshot (167)

@pimpcapital
Copy link
Contributor

Will consider handling multiple token accounts.

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

No branches or pull requests

3 participants