Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ impl NearTutorialContract {
}

// This function is used to check if the caller is the owner of the contract
// Currently, the owner is hardcoded to "near-tuto.testnet"
// Currently, the owner is hardcoded to "near-tuto-1.testnet"
// In the future, we will use a better way to manage the owner
fn assert_owner(&self) {
require!(env::predecessor_account_id() == self.owner, "Not the owner");
Expand Down
Loading