Skip to content

Commit

Permalink
no assert for uncle == 0
Browse files Browse the repository at this point in the history
  • Loading branch information
jackzhhuang committed Apr 23, 2024
1 parent 18495e0 commit a77c79e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sources/Epoch.move
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ module Epoch {
(false, epoch_ref.reward_per_block)
} else if (block_number == epoch_ref.end_block_number) {
//start a new epoch
assert!(uncles == 0, Errors::invalid_argument(EINVALID_UNCLES_COUNT));
// assert!(uncles == 0, Errors::invalid_argument(EINVALID_UNCLES_COUNT));
// block time target unit is milli_seconds.
let now_milli_seconds = timestamp;

Expand Down Expand Up @@ -377,4 +377,4 @@ module Epoch {
}

}
}
}

0 comments on commit a77c79e

Please sign in to comment.