From 163416c77ed39e7cd87b4792f0019efb248ef965 Mon Sep 17 00:00:00 2001 From: Nipun Jindal Date: Mon, 21 Oct 2024 12:31:04 +0530 Subject: [PATCH] removing dir change in logic --- shared/services/config/stadernode-config.go | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/shared/services/config/stadernode-config.go b/shared/services/config/stadernode-config.go index 6bb0709f..aadcfcbc 100644 --- a/shared/services/config/stadernode-config.go +++ b/shared/services/config/stadernode-config.go @@ -446,15 +446,11 @@ func (cfg *StaderNodeConfig) GetSpRewardCyclePath(cycle int64, daemon bool) stri } func (cfg *StaderNodeConfig) GetFeeRecipientFilePath() string { - validatorDirName := "validators" - if cfg.parent.IsSSVMode { - validatorDirName = "presign" - } if !cfg.parent.IsNativeMode { - return filepath.Join(DaemonDataPath, validatorDirName, FeeRecipientFilename) + return filepath.Join(DaemonDataPath, "validators", FeeRecipientFilename) } - return filepath.Join(cfg.DataPath.Value.(string), validatorDirName, NativeFeeRecipientFilename) + return filepath.Join(cfg.DataPath.Value.(string), "validators", NativeFeeRecipientFilename) } func (cfg *StaderNodeConfig) GetClaimData(cycles []*big.Int) ([]*big.Int, []*big.Int, [][][32]byte, error) {