From 373942b8fd34d932b61840d5a6d6ff44b1c7e316 Mon Sep 17 00:00:00 2001 From: rymnc <43716372+rymnc@users.noreply.github.com> Date: Wed, 24 Jan 2024 14:55:39 +0530 Subject: [PATCH] fix: unused storage access --- src/RlnBase.sol | 1 - 1 file changed, 1 deletion(-) diff --git a/src/RlnBase.sol b/src/RlnBase.sol index 4f71e25..879dd4f 100644 --- a/src/RlnBase.sol +++ b/src/RlnBase.sol @@ -196,7 +196,6 @@ abstract contract RlnBase { revert InvalidReceiverAddress(receiver); } - uint256 userMessageLimit = userMessageLimits[idCommitment]; if (memberExists[idCommitment] == false) revert MemberNotRegistered(idCommitment); // check if member is registered if (stakedAmounts[idCommitment] == 0) {