From 00edb18295c65a5219134668400784787a22adba Mon Sep 17 00:00:00 2001 From: davidbrai Date: Thu, 12 Dec 2024 12:31:51 +0000 Subject: [PATCH] cleanup --- packages/nouns-contracts/contracts/StreamEscrow.sol | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/nouns-contracts/contracts/StreamEscrow.sol b/packages/nouns-contracts/contracts/StreamEscrow.sol index 03d5f5252..99eef2fe8 100644 --- a/packages/nouns-contracts/contracts/StreamEscrow.sol +++ b/packages/nouns-contracts/contracts/StreamEscrow.sol @@ -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;