We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12e83d4 commit 29c7860Copy full SHA for 29c7860
programs/drift/src/macros.rs
@@ -110,10 +110,10 @@ macro_rules! digest_struct_hex {
110
macro_rules! msg {
111
($msg:expr) => {
112
#[cfg(not(feature = "drift-rs"))]
113
- $crate::sol_log($msg)
+ solana_program::msg!($msg)
114
};
115
($($arg:tt)*) => {
116
117
- ($crate::sol_log(&format!($($arg)*)));
+ (solana_program::msg!(&format!($($arg)*)));
118
}
119
programs/drift/src/math/oracle.rs
@@ -1,5 +1,4 @@
1
use borsh::{BorshDeserialize, BorshSerialize};
2
-use solana_program::msg;
3
4
use crate::error::{DriftResult, ErrorCode};
5
use crate::math::amm;
0 commit comments