From 13b7ef5abfe378a0af85c5ba281c065b58704a42 Mon Sep 17 00:00:00 2001 From: Mahabub Alahi Date: Thu, 26 Feb 2026 14:47:25 +0600 Subject: [PATCH] Remove redundant duration check in BasePaymentTreasury contract --- src/utils/BasePaymentTreasury.sol | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/utils/BasePaymentTreasury.sol b/src/utils/BasePaymentTreasury.sol index f7e45f4..b11017e 100644 --- a/src/utils/BasePaymentTreasury.sol +++ b/src/utils/BasePaymentTreasury.sol @@ -340,11 +340,6 @@ abstract contract BasePaymentTreasury is } duration = uint256(maxExpirationBytes); - - if (duration == 0) { - return (false, 0); - } - hasLimit = true; }