Skip to content

Commit

Permalink
fix: added new wallet address field
Browse files Browse the repository at this point in the history
  • Loading branch information
justussoh committed Apr 6, 2021
1 parent 96b7bad commit b0f7338
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/JobCreator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ contract JobCreator {
taskRegistry = Task(_taskRegistry);
}

event JobDeployed(address indexed jobAddress);
event JobDeployed(address indexed jobAddress, address indexed jobOwner);

function deployNewJob(string calldata _title, string calldata _description)
external
Expand All @@ -33,7 +33,7 @@ contract JobCreator {
);

Job newJob = new Job(taskRegistry, msg.sender, _title, _description);
emit JobDeployed(address(newJob));
emit JobDeployed(address(newJob), msg.sender);
return address(newJob);
}
}

0 comments on commit b0f7338

Please sign in to comment.