diff --git a/sample/arc2_receiver.lua b/sample/arc2_receiver.lua index 1dfc824..8f495af 100644 --- a/sample/arc2_receiver.lua +++ b/sample/arc2_receiver.lua @@ -12,12 +12,12 @@ function nonFungibleReceived(operator, from, tokenId, ...) end function add_accepted_token(address) - assert(system.getSender() = system.getCreator(), "permission denied") + assert(system.getSender() == system.getCreator(), "permission denied") accepted_tokens[address] = true end function transferARC2(contractId, to, tokenId, ...) - assert(system.getSender() = system.getCreator(), "permission denied") + assert(system.getSender() == system.getCreator(), "permission denied") contract.call(contractId, "transfer", to, tokenId, ...) end