diff --git a/examples/spawn-and-move/src/mock_token.cairo b/examples/spawn-and-move/src/mock_token.cairo index 7cb2f8889b..75b4c00e16 100644 --- a/examples/spawn-and-move/src/mock_token.cairo +++ b/examples/spawn-and-move/src/mock_token.cairo @@ -3,7 +3,7 @@ mod mock_token { use dojo_examples::models::{MockToken}; use starknet::{ContractAddress, get_caller_address}; - fn dojo_init(world: IWorldDispatcher) { + fn dojo_init(world: @IWorldDispatcher) { let account: ContractAddress = get_caller_address(); set!(world, MockToken { account: account, amount: 1000 });