Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ponderingdemocritus committed Aug 29, 2023
1 parent 7cb9be1 commit 198222d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ starknet invoke --function mint --address <CONTRACT_ADDRESS> --account pusscode

## Test

starkli deploy 0x031356a71c184985f63f4766f9c05cb939897bdb088391c11add23fdc80d6b83 0x3481bceb5771419b69cac998eece0cbf6be21699cdfb1a736f3c28796efbd7d 0x0 0x424541535453 0x424541535453 --account ./account
starkli deploy 0x02cb532fc4a77e28eca87132b5326830aaf5fa87c6fb3cdc4314a4219ce0545f 0x3481bceb5771419b69cac998eece0cbf6be21699cdfb1a736f3c28796efbd7d 0x0 0x424541535453 0x424541535453 --account ./account --keystore ./keys
4 changes: 2 additions & 2 deletions src/beasts.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ mod Beasts {
fn _assertOnlyOwner(self: @ContractState) {
let owner: ContractAddress = self._owner.read();
let caller: ContractAddress = get_caller_address();
// assert(!caller.is_zero(), 'Zero address');
// assert(caller == owner, 'Not owner');
assert(!caller.is_zero(), 'Zero address');
assert(caller == owner, 'Not owner');
}

fn _transferOwnership(ref self: ContractState, to: ContractAddress) {
Expand Down

0 comments on commit 198222d

Please sign in to comment.