Skip to content

Commit

Permalink
Add logging for contract authors
Browse files Browse the repository at this point in the history
  • Loading branch information
corydickson committed Mar 14, 2024
1 parent ce731da commit a99c609
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ impl Contract {

if is_contract {
author = near_sdk::env::predecessor_account_id();
log_str(&format!("Using contract as the author"));
}

if !self.packages.contains_key(&author) {
Expand Down

0 comments on commit a99c609

Please sign in to comment.