Skip to content

Commit

Permalink
add whenNotPaused swaExact func
Browse files Browse the repository at this point in the history
  • Loading branch information
liu-zhipeng committed Jun 15, 2022
1 parent 714e2ef commit 1dd5559
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ contract StableSwapFacet is BaseConnextFacet {
address assetOut,
uint256 maxAmountIn,
uint256 deadline
) external payable nonReentrant deadlineCheck(deadline) returns (uint256) {
) external payable nonReentrant deadlineCheck(deadline) whenNotPaused returns (uint256) {
return
s.swapStorages[canonicalId].swapOut(
getSwapTokenIndex(canonicalId, assetIn),
Expand Down
2 changes: 1 addition & 1 deletion packages/deployments/contracts/lib/forge-std

0 comments on commit 1dd5559

Please sign in to comment.