Skip to content

Commit

Permalink
fix: small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Grimal committed Nov 16, 2023
1 parent 7caaeee commit 7f2e7a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blue/CallbacksSnippets.sol
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ contract CallbacksSnippets is IMorphoSupplyCollateralCallback, IMorphoRepayCallb

_approveMaxTo(address(marketParams.collateralToken), address(this));

uint256 repaidShares = 0;
uint256 repaidShares;

(seizedAssets, repaidAssets) =
morpho.liquidate(marketParams, borrower, assetsToSeize, repaidShares, abi.encode(loanAmountToRepay));
Expand Down

0 comments on commit 7f2e7a4

Please sign in to comment.