Skip to content

Commit

Permalink
fix a glob resolution issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bvanjoi committed Oct 27, 2023
1 parent 9c4740a commit a0e2b91
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions common/src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand All @@ -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(),
Expand All @@ -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(),
Expand Down

0 comments on commit a0e2b91

Please sign in to comment.