Skip to content

Commit 2f78133

Browse files
committed
fix
1 parent 4a9c1bd commit 2f78133

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

rust/src/log.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ macro_rules! info {
44
#[cfg(not(feature = "contract"))]
55
tracing::info!($($arg)*);
66
#[cfg(feature = "contract")]
7-
info(&format!($($arg)*));
7+
::freenet_stdlib::log::info(&format!($($arg)*));
88
};
99
}
1010

@@ -15,7 +15,6 @@ pub fn info(msg: &str) {
1515
}
1616
}
1717

18-
1918
#[link(wasm_import_module = "freenet_log")]
2019
extern "C" {
2120
#[doc(hidden)]

0 commit comments

Comments
 (0)