Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/bin/sh

# Guard: Check that lint-staged is installed locally before executing
if [ ! -x ./node_modules/.bin/lint-staged ]; then
echo "lint-staged is not installed locally. Run 'npm install' before committing." >&2
exit 1
fi

./node_modules/.bin/lint-staged

2 changes: 1 addition & 1 deletion contracts/stream_contract/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ pub struct Stream {
pub start_time: u64,
/// Ledger timestamp of the last state mutation, in Unix epoch seconds.
pub last_update_time: u64,
/// Optional timestamp before which no tokens are claimable.
/// Ledger timestamp before which tokens cannot be withdrawn (`None` if no cliff), in Unix epoch seconds.
pub cliff_time: Option<u64>,
/// `false` once fully withdrawn or cancelled. Always set.
pub is_active: bool,
Expand Down
120 changes: 117 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading