Skip to content

Commit

Permalink
chore: make Controller.cloberMarketSwapCallback as virtual
Browse files Browse the repository at this point in the history
  • Loading branch information
JhChoy committed Feb 21, 2024
1 parent 0695302 commit 3f07e94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/libraries/Controller.sol
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ abstract contract Controller is
uint256 inputAmount,
uint256 outputAmount,
bytes calldata data
) external payable {
) external virtual payable {
// check if caller is registered market
if (_cloberMarketFactory.getMarketHost(msg.sender) == address(0)) revert InvalidAccess();

Expand Down

0 comments on commit 3f07e94

Please sign in to comment.