Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use log macro #15

Merged
merged 1 commit into from
Apr 12, 2023
Merged

chore: use log macro #15

merged 1 commit into from
Apr 12, 2023

Conversation

yomarion
Copy link
Member

@yomarion yomarion commented Apr 12, 2023

As requested in #12 #12 (comment)

This change enforces the use of the log! macro.

@@ -66,12 +66,9 @@ impl FungibleTokenContract {
U128::from(old_sender_balance.0 - amt),
);
self.set_balance(receiver_id, U128::from(old_receiver_balance.0 + amt));

env::log(format!("ft_transfer OK").as_bytes());
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These logs were mistakenly kept from debugging sessions.

@yomarion yomarion merged commit 34dc970 into main Apr 12, 2023
@yomarion yomarion deleted the chore/use-log-macro branch April 12, 2023 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants