mirror of
https://github.com/Routstr/routstr-core.git
synced 2026-08-11 11:47:50 +00:00
- Added `force_primary` parameter to `recieve_token` to control mint selection. - Refactored `swap_to_primary_mint` to `_swap_to_primary_internal` for better clarity and reusability. - Introduced `migrate_balance_to_primary` function to handle balance migration to the primary mint. - Updated `credit_balance` to check and migrate balances when necessary, ensuring proper mint handling. - Improved logging for migration processes and error handling.