Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit aaa5adb

Browse files
committed
backport #484 to v2
1 parent f68ff75 commit aaa5adb

File tree

7 files changed

+12
-1051
lines changed

7 files changed

+12
-1051
lines changed

token/program/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ default = ["solana-sdk/default"]
2121
num-derive = "0.3"
2222
num-traits = "0.2"
2323
remove_dir_all = "=0.5.0"
24-
solana-sdk = { version = "1.3.11", default-features = false, optional = true }
24+
solana-sdk = { version = "1.3.12", default-features = false, optional = true }
2525
thiserror = "1.0"
2626
arrayref = "0.3.6"
2727
num_enum = "0.5.1"

token/program/src/instruction.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
//! Instruction types
22
3-
use crate::{error::TokenError, option::COption};
3+
use crate::error::TokenError;
44
use solana_sdk::{
55
instruction::{AccountMeta, Instruction},
66
program_error::ProgramError,
7+
program_option::COption,
78
pubkey::Pubkey,
89
sysvar,
910
};

token/program/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ pub mod entrypoint;
77
pub mod error;
88
pub mod instruction;
99
pub mod native_mint;
10-
pub mod option;
11-
pub mod pack;
1210
pub mod processor;
1311
pub mod state;
1412

0 commit comments

Comments
 (0)