Skip to content

Commit

Permalink
add another tbd
Browse files Browse the repository at this point in the history
  • Loading branch information
constantindogaru committed Nov 26, 2021
1 parent 4bde839 commit 726047c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sputnikdao2/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ impl Contract {
1_000_000_000 * 60 * 60 * 24 * config.max_days_of_inactivity.0;

let mut active = false;
// TBD: is this condition what we want?
if last_proposal.submission_time.0 + allowed_inactivity_time > env::block_timestamp() {
active = true; // it means this DAO is still active
}
Expand Down

0 comments on commit 726047c

Please sign in to comment.