You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Its a little bit confusing that we can transfer spl tokens between same token accounts (src and dest is the same)
Better to add a check and throw an error
The text was updated successfully, but these errors were encountered:
I actually find the ability to send to the same account quite useful. With a limited amount of Devnet tokens available, it is often useful to send them back to the source account to be reused.
You can continually test a program without running out (well - you would run out eventually but it would take a long time)
Thanks for coming forward with a suggestion! The self-transfer behavior is very much a desired feature, so I wouldn't make the change. Either way, I'll leave the issue open in case anyone else wants to chime in.
Its a little bit confusing that we can transfer spl tokens between same token accounts (src and dest is the same)
Better to add a check and throw an error
The text was updated successfully, but these errors were encountered: