Skip to content

Commit f4b330a

Browse files
committed
refactor: remove unused '_slasher' constructor parameter
The '_slasher' parameter was not utilized within the contract, enhancing clarity by simplifying the constructor.
1 parent eef70d9 commit f4b330a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/slashers/VetoableSlasher.sol

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ contract VetoableSlasher is SlasherBase {
2020

2121
constructor(
2222
IAllocationManager _allocationManager,
23-
ISlashingRegistryCoordinator _slashingRegistryCoordinator,
24-
address _slasher
23+
ISlashingRegistryCoordinator _slashingRegistryCoordinator
2524
) SlasherBase(_allocationManager, _slashingRegistryCoordinator) {}
2625

2726
function initialize(address _vetoCommittee, address _slasher) external virtual initializer {

0 commit comments

Comments
 (0)