Skip to content

Commit 215b769

Browse files
authored
Merge pull request #593 from devfoma/fix/stream-contract-dead-code-cleanup
2 parents f32dbe9 + a560506 commit 215b769

2 files changed

Lines changed: 0 additions & 65 deletions

File tree

contracts/stream_contract/src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -433,9 +433,6 @@ impl StreamContract {
433433
if stream.paused {
434434
return Err(StreamError::StreamInactive);
435435
}
436-
if stream.paused {
437-
return Err(StreamError::StreamInactive);
438-
}
439436

440437
let now = env.ledger().timestamp();
441438
let claimable = Self::calculate_claimable(&stream, now);

contracts/stream_contract/src/stream_contract/src/test.rs

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)