Skip to content

Commit

Permalink
remove old strategy update debt call
Browse files Browse the repository at this point in the history
  • Loading branch information
aazhou1 committed Oct 9, 2024
1 parent a7de450 commit 5db248f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions script/VaultStrategySwitch.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@ contract VaultStrategySwitch is Script {


if (oldStrategy != address(0)) {
try vault.update_debt(oldStrategy, 0){
console.log("updated debt for old strategy to 0");

} catch (bytes memory lowLevelData) {

}
console.log(oldStrategy);

vault.revoke_strategy(oldStrategy);
Expand Down

0 comments on commit 5db248f

Please sign in to comment.