(ctx: Context<Memo>)
| 63 | } |
| 64 | |
| 65 | pub fn memo(ctx: Context<Memo>) -> Result<()> { |
| 66 | let price_account_info = &ctx.accounts.price; |
| 67 | let price_feed: PriceFeed = load_price_feed_from_account_info(&price_account_info).unwrap(); |
| 68 | msg!("{:?}", price_feed); |
| 69 | Ok(()) |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | #[derive(Accounts)] |
nothing calls this directly
no outgoing calls
no test coverage detected