Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrai committed Dec 12, 2024
1 parent aa116ec commit 00edb18
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/nouns-contracts/contracts/StreamEscrow.sol
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,7 @@ contract StreamEscrow is IStreamEscrow {
Stream memory stream = streams[nounId];
uint32 currentTick_ = currentTick;
if (!isStreamActive(stream, currentTick_)) {
ticksLeft = 0;
unstreamedETH = 0;
return (0, 0);
} else {
ticksLeft = stream.lastTick - currentTick_;
unstreamedETH = ticksLeft * stream.ethPerTick;
Expand Down

0 comments on commit 00edb18

Please sign in to comment.