diff --git a/x/scheduler/keeper/wasm_handler.go b/x/scheduler/keeper/wasm_handler.go index daa4f6a9..bbd0cc70 100644 --- a/x/scheduler/keeper/wasm_handler.go +++ b/x/scheduler/keeper/wasm_handler.go @@ -60,7 +60,7 @@ func (k Keeper) ExecuteWasmJobEventListener() wasmutil.MessengerFnc { return nil, nil, whoops.Wrap(err, types.ErrWasmExecuteMessageNotValid) } - msgID, err := k.ExecuteJob(ctx, executeMsg.JobID, executeMsg.Payload, nil, contractAddr) + msgID, err := k.ExecuteJob(ctx, executeMsg.JobID, executeMsg.Payload, contractAddr, contractAddr) if err != nil { logger.WithError(err).Error("Failed to trigger job execution.") return nil, nil, err