Commit 9589899b authored by Andrew Jones's avatar Andrew Jones Committed by Hero Bird

[cli] fix println usage in new contract template (#130)

parent 27087f20
#![cfg_attr(not(any(test, feature = "std")), no_std)]
use ink_core::{
env::println,
memory::format,
storage,
};
......@@ -33,7 +32,7 @@ contract! {
/// Returns the current state.
pub(external) fn get(&self) -> bool {
println(&format!("Storage Value: {:?}", *self.value));
env.println(&format!("Storage Value: {:?}", *self.value));
*self.value
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment