Skip to content

Commit

Permalink
fix src/contracts/BaseVotingStrategy.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
nisnislevi committed Nov 16, 2023
1 parent 3e83507 commit de1fde9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/contracts/BaseVotingStrategy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ abstract contract BaseVotingStrategy is IBaseVotingStrategy {

if (asset == AAVE() || asset == STK_AAVE()) {
votingAssetConfig.storageSlots = new uint128[](1);
votingAssetConfig.storageSlots[0] = A_AAVE_BASE_BALANCE_SLOT;
votingAssetConfig.storageSlots[0] = BASE_BALANCE_SLOT;
} else if (asset == A_AAVE()) {
votingAssetConfig.storageSlots = new uint128[](2);
votingAssetConfig.storageSlots[0] = BASE_BALANCE_SLOT;
votingAssetConfig.storageSlots[0] = A_AAVE_BASE_BALANCE_SLOT;
votingAssetConfig.storageSlots[1] = A_AAVE_DELEGATED_STATE_SLOT;
} else {
return votingAssetConfig;
Expand Down

0 comments on commit de1fde9

Please sign in to comment.