Skip to content

Commit

Permalink
emit in event how much is left after the fill
Browse files Browse the repository at this point in the history
  • Loading branch information
ZumZoom committed Oct 9, 2023
1 parent 7076de5 commit 63ca5b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/OrderMixin.sol
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ abstract contract OrderMixin is IOrderMixin, EIP712, OnlyWethReceiver, Predicate
);
}

emit OrderFilled(orderHash, remainingMakingAmount);
emit OrderFilled(orderHash, remainingMakingAmount - makingAmount);
}

/**
Expand Down

0 comments on commit 63ca5b8

Please sign in to comment.