Skip to content

Commit

Permalink
refactor: switch to emit swap canceled with msg.sender #186
Browse files Browse the repository at this point in the history
  • Loading branch information
0xjoaovpsantos committed Feb 2, 2024
1 parent 890d327 commit 5275150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/Swaplace.sol
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ contract Swaplace is SwapFactory, ISwaplace, IERC165 {

_swaps[swapId].config = 0;

emit SwapCanceled(swapId, _swaps[swapId].owner);
emit SwapCanceled(swapId, msg.sender);
}

/**
Expand Down

0 comments on commit 5275150

Please sign in to comment.