Skip to content

Commit

Permalink
Remove parans from errNotSupported arg
Browse files Browse the repository at this point in the history
  • Loading branch information
jtraglia committed Nov 1, 2024
1 parent 297dd83 commit 02291a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions beacon-chain/state/state-native/spec_parameters.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func (b *BeaconState) ProportionalSlashingMultiplier() (uint64, error) {
case version.Phase0:
return params.BeaconConfig().ProportionalSlashingMultiplier, nil
}
return 0, errNotSupported("ProportionalSlashingMultiplier()", b.version)
return 0, errNotSupported("ProportionalSlashingMultiplier", b.version)
}

func (b *BeaconState) InactivityPenaltyQuotient() (uint64, error) {
Expand All @@ -26,5 +26,5 @@ func (b *BeaconState) InactivityPenaltyQuotient() (uint64, error) {
case version.Phase0:
return params.BeaconConfig().InactivityPenaltyQuotient, nil
}
return 0, errNotSupported("InactivityPenaltyQuotient()", b.version)
return 0, errNotSupported("InactivityPenaltyQuotient", b.version)
}

0 comments on commit 02291a2

Please sign in to comment.