Skip to content

Commit 29c7860

Browse files
committed
fix build
1 parent 12e83d4 commit 29c7860

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

programs/drift/src/macros.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,10 @@ macro_rules! digest_struct_hex {
110110
macro_rules! msg {
111111
($msg:expr) => {
112112
#[cfg(not(feature = "drift-rs"))]
113-
$crate::sol_log($msg)
113+
solana_program::msg!($msg)
114114
};
115115
($($arg:tt)*) => {
116116
#[cfg(not(feature = "drift-rs"))]
117-
($crate::sol_log(&format!($($arg)*)));
117+
(solana_program::msg!(&format!($($arg)*)));
118118
}
119119
}

programs/drift/src/math/oracle.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
use borsh::{BorshDeserialize, BorshSerialize};
2-
use solana_program::msg;
32

43
use crate::error::{DriftResult, ErrorCode};
54
use crate::math::amm;

0 commit comments

Comments
 (0)