Skip to content

Commit

Permalink
chore(contracts): fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
gitmp01 committed Oct 3, 2024
1 parent e8d0366 commit 4fe5c3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/contracts/lockbox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ void lockbox::ontransfer(
if (search_token != _registry.end()) {
check(search_token->token == token, "invalid first receiver");
auto xerc20_quantity = asset(quantity.amount, search_token->xerc20_symbol);
print("\nxerc20.mint->", from, "\n");
print("\nxerc20.mint->", from.to_string(), "\n");
action(
permission_level{ get_self(), "active"_n },
search_token->xerc20,
Expand All @@ -81,7 +81,7 @@ void lockbox::ontransfer(
).send();

auto token_quantity = asset(quantity.amount, search_xerc20->token_symbol);
print("\ntoken.transfer->", from, "\n");
print("\ntoken.transfer->", from.to_string(), "\n");

action(
permission_level{ get_self(), "active"_n },
Expand Down

0 comments on commit 4fe5c3a

Please sign in to comment.