```\nif (fees[1].sinceEpoch != 0) {\n    if (Accumulators.getCurrentEpochNumber() < fees[1].sinceEpoch + delegationParamsEpochDelay) revert SetDelegationFeeNotReady();\n}\nif (fees[1].sinceEpoch != 0) {\n    fees[0] = fees[1];\n}\n```\n