Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Unused import DelegationSurrogateVotes #40

Open
CergyK opened this issue Dec 7, 2024 · 2 comments
Open

Unused import DelegationSurrogateVotes #40

CergyK opened this issue Dec 7, 2024 · 2 comments
Labels
Low/Info A Low/Info severity issue.

Comments

@CergyK
Copy link
Collaborator

CergyK commented Dec 7, 2024

Description

DelegationSurrogateVotes is imported in GovernanceStaker.sol but is never used

// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity ^0.8.23;

import {DelegationSurrogate} from "src/DelegationSurrogate.sol";
//@audit unused import
import {DelegationSurrogateVotes} from "src/DelegationSurrogateVotes.sol";
import {INotifiableRewardReceiver} from "src/interfaces/INotifiableRewardReceiver.sol";
@CergyK CergyK added the Low/Info A Low/Info severity issue. label Dec 7, 2024
@alexkeating
Copy link

Will fix

@CergyK
Copy link
Collaborator Author

CergyK commented Dec 16, 2024

Fixed by withtally/staker#89

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Low/Info A Low/Info severity issue.
Projects
None yet
Development

No branches or pull requests

2 participants