Skip to content

Commit 12b48aa

Browse files
drcpu-githubguidiaz
authored andcommitted
feat(validations): disable minimum balance qualification requirement when wit/2 activates
1 parent 1d39030 commit 12b48aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validations/src/validations.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ pub fn validate_commit_collateral(
203203
// Special requirement for facilitating the 2.0 transition.
204204
// Every committer is required to have a total balance of at least 100 wits.
205205
// This works independently from the minimum collateral requirement.
206-
if epoch > 2_245_000 {
206+
if protocol_version < ProtocolVersion::V2_0 && epoch > 2_245_000 {
207207
let committer = vt_output.pkh;
208208
let mut balance = 0;
209209
utxo_diff.get_utxo_set().visit_with_pkh(

0 commit comments

Comments
 (0)