Skip to content

Commit be33847

Browse files
committed
fix: typo in local variable
1 parent c1bad1d commit be33847

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

contracts/src/arbitration/SortitionModuleBase.sol

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -344,14 +344,14 @@ abstract contract SortitionModuleBase is ISortitionModule, Initializable, UUPSPr
344344
// Update the sortition sum tree.
345345
bytes32 stakePathID = _accountAndCourtIDToStakePathID(_account, _courtID);
346346
bool finished = false;
347-
uint96 currenCourtID = _courtID;
347+
uint96 currentCourtID = _courtID;
348348
while (!finished) {
349349
// Tokens are also implicitly staked in parent courts through sortition module to increase the chance of being drawn.
350-
_set(bytes32(uint256(currenCourtID)), _newStake, stakePathID);
351-
if (currenCourtID == GENERAL_COURT) {
350+
_set(bytes32(uint256(currentCourtID)), _newStake, stakePathID);
351+
if (currentCourtID == GENERAL_COURT) {
352352
finished = true;
353353
} else {
354-
(currenCourtID, , , , , , ) = core.courts(currenCourtID); // Get the parent court.
354+
(currentCourtID, , , , , , ) = core.courts(currentCourtID); // Get the parent court.
355355
}
356356
}
357357
emit StakeSet(_account, _courtID, _newStake, juror.stakedPnk);

0 commit comments

Comments
 (0)