spl-memo: Add back v1 program ID as `spl_memo::v1::id()`

This commit is contained in:
Trent Nelson 2021-04-01 01:03:49 -06:00 committed by mergify[bot]
parent 84f2f33f49
commit 7d0248ffa4
1 changed files with 5 additions and 0 deletions

View File

@ -13,6 +13,11 @@ use solana_program::{
pubkey::Pubkey,
};
/// Legacy symbols from Memo v1
pub mod v1 {
solana_program::declare_id!("Memo1UhkJRfHyvLMcVucJwxXeuD728EqVDDwQDxFMNo");
}
solana_program::declare_id!("MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr");
/// Build a memo instruction, possibly signed