From 02291a22911f668033d68a9d9a34914389f187c1 Mon Sep 17 00:00:00 2001 From: Justin Traglia Date: Fri, 1 Nov 2024 15:39:42 -0500 Subject: [PATCH] Remove parans from errNotSupported arg --- beacon-chain/state/state-native/spec_parameters.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beacon-chain/state/state-native/spec_parameters.go b/beacon-chain/state/state-native/spec_parameters.go index 1612a71efbdf..7c955e92c1d2 100644 --- a/beacon-chain/state/state-native/spec_parameters.go +++ b/beacon-chain/state/state-native/spec_parameters.go @@ -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) { @@ -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) }