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

Commit 7d0248f

Browse files
t-nelsonmergify[bot]
authored andcommitted
spl-memo: Add back v1 program ID as spl_memo::v1::id()
1 parent 84f2f33 commit 7d0248f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

memo/program/src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ use solana_program::{
1313
pubkey::Pubkey,
1414
};
1515

16+
/// Legacy symbols from Memo v1
17+
pub mod v1 {
18+
solana_program::declare_id!("Memo1UhkJRfHyvLMcVucJwxXeuD728EqVDDwQDxFMNo");
19+
}
20+
1621
solana_program::declare_id!("MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr");
1722

1823
/// Build a memo instruction, possibly signed

0 commit comments

Comments
 (0)