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

Commit d181f74

Browse files
committed
use solana-inline-spl instead of spl-program-ids
1 parent 38b1648 commit d181f74

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

associated-token-address/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ license = "Apache-2.0"
88
edition = "2021"
99

1010
[dependencies]
11-
solana-program = "2.0.0"
12-
spl-program-ids = { path = "../program-ids", version = "1.0.0" }
11+
solana-inline-spl = "2.1.0"
12+
solana-program = "2.1.0"
1313

1414
[package.metadata.docs.rs]
1515
targets = ["x86_64-unknown-linux-gnu"]

associated-token-address/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ pub fn get_associated_token_address(
3131
get_associated_token_address_with_program_id(
3232
wallet_address,
3333
token_mint_address,
34-
&spl_program_ids::spl_token::ID,
34+
&solana_inline_spl::spl_token::ID,
3535
)
3636
}
3737

@@ -45,7 +45,7 @@ pub fn get_associated_token_address_with_program_id(
4545
get_associated_token_address_and_bump_seed(
4646
wallet_address,
4747
token_mint_address,
48-
&spl_program_ids::spl_associated_token_account::ID,
48+
&solana_inline_spl::spl_associated_token_account::ID,
4949
token_program_id,
5050
)
5151
.0

0 commit comments

Comments
 (0)