Skip to content

Commit

Permalink
use a more appropriate array initialisation length (#1800)
Browse files Browse the repository at this point in the history
  • Loading branch information
sparrowDom authored Aug 30, 2023
1 parent abf482f commit d159fbe
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ contract BalancerMetaPoolStrategy is BaseAuraStrategy {
);

uint256[] memory strategyAssetAmountsToPoolAssetAmounts = new uint256[](
tokens.length
_strategyAssets.length
);
address[] memory strategyAssetsToPoolAssets = new address[](
tokens.length
_strategyAssets.length
);

for (uint256 i = 0; i < _strategyAssets.length; ++i) {
Expand Down

0 comments on commit d159fbe

Please sign in to comment.