Skip to content

Commit 4068680

Browse files
committed
fix(lockup-test): incorrect return value in calculate streamed amount function when start time equals block time
1 parent 2539c05 commit 4068680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/utils/Calculations.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ abstract contract Calculations is BaseUtils {
8080
{
8181
uint40 blockTimestamp = getBlockTimestamp();
8282

83-
if (startTime >= blockTimestamp) {
83+
if (startTime > blockTimestamp) {
8484
return 0;
8585
}
8686
if (cliffTime > blockTimestamp) {

0 commit comments

Comments
 (0)