Skip to content

Commit

Permalink
smol readability fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pblivin0x committed Jul 7, 2024
1 parent 45cac95 commit d93810f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/staking/SnapshotStakingPool.sol
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ contract SnapshotStakingPool is ISnapshotStakingPool, Ownable, ERC20Snapshot, Re

/// @inheritdoc ISnapshotStakingPool
function getNextSnapshotBufferTime() public view returns (uint256) {
return lastSnapshotTime + snapshotDelay - snapshotBuffer;
return getNextSnapshotTime() - snapshotBuffer;
}

/* INTERNAL FUNCTIONS */
Expand Down

0 comments on commit d93810f

Please sign in to comment.