From a0e2b91a89d31f74e425d9408386ea25e8308742 Mon Sep 17 00:00:00 2001 From: bohan Date: Fri, 27 Oct 2023 13:30:36 +0800 Subject: [PATCH] fix a glob resolution issue --- common/src/macros.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/src/macros.rs b/common/src/macros.rs index 4da87ef..5257a6a 100644 --- a/common/src/macros.rs +++ b/common/src/macros.rs @@ -19,7 +19,7 @@ macro_rules! security_txt { #[macro_export] macro_rules! transfer_tokens_to_vault { ($accounts: expr, $amount: expr) => { - cpi::transfer_tokens( + nosana_common::cpi::transfer_tokens( $accounts.token_program.to_account_info(), $accounts.user.to_account_info(), $accounts.vault.to_account_info(), @@ -33,7 +33,7 @@ macro_rules! transfer_tokens_to_vault { #[macro_export] macro_rules! transfer_tokens_from_vault { ($accounts: expr, $to: ident, $seeds: expr, $amount: expr) => { - cpi::transfer_tokens( + nosana_common::cpi::transfer_tokens( $accounts.token_program.to_account_info(), $accounts.vault.to_account_info(), $accounts.$to.to_account_info(), @@ -47,7 +47,7 @@ macro_rules! transfer_tokens_from_vault { #[macro_export] macro_rules! close_vault { ($accounts: expr, $seeds: expr) => { - cpi::close_token_account( + nosana_common::cpi::close_token_account( $accounts.token_program.to_account_info(), $accounts.vault.to_account_info(), $accounts.authority.to_account_info(),