Create user-bank account on send, set minimums#13641
Conversation
|
You have run out of free Bugbot PR reviews for this billing cycle. This will reset on March 29. To receive reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial. |
|
|
|
||
| const instructions: TransactionInstruction[] = [] | ||
|
|
||
| // If we need to create a user-bank account, add the create instruction first |
There was a problem hiding this comment.
can you do this instead /similar.
you can still combine it into one tx, but i don't think that's totally necessary either
There was a problem hiding this comment.
done, good call
Ensures user-bank is created if needed before sending.
Sets minimum send amount