Rework spl_token_v2_self_transfer_fix to avoid any SPL Token downtime

This commit is contained in:
Michael Vines
2021-02-09 09:16:01 -08:00
committed by mergify[bot]
parent aa97da2146
commit 2e7aebf0bb
2 changed files with 58 additions and 8 deletions

View File

@@ -1,6 +1,10 @@
// Partial SPL Token v2.0.x declarations inlined to avoid an external dependency on the spl-token crate
solana_sdk::declare_id!("TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA");
pub(crate) mod new_token_program {
solana_sdk::declare_id!("t31zsgDmRntje65uXV3LrnWaJtJJpMd4LyJxq2R2VrU");
}
/*
spl_token::state::Account {
mint: Pubkey,