Skip to content

Commit 66331f3

Browse files
trial
1 parent 31c71ca commit 66331f3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

dash/src/sml/masternode_list/scores_for_quorum.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
use std::collections::BTreeMap;
2+
use hashes::Hash;
23
use crate::hash_types::{QuorumModifierHash, ScoreHash};
34
use crate::Network;
45
use crate::sml::masternode_list::MasternodeList;
@@ -19,6 +20,13 @@ impl MasternodeList {
1920
let hpmn_only = llmq_type == network.platform_type();
2021
let quorum_modifier = quorum_modifier.build_llmq_hash();
2122
let score_dictionary = self.scores_for_quorum(quorum_modifier, hpmn_only);
23+
if quorum.quorum_entry.quorum_hash.to_byte_array().to_vec() == hex::decode("00000000000000048529d958e7cfa32f51f0ac0584f7037ac34d8448f8a2a684").unwrap() {
24+
println!("00000000000000048529d958e7cfa32f51f0ac0584f7037ac34d8448f8a2a684 info");
25+
println!("quorum modifier {}", quorum_modifier);
26+
for (score, list_entry) in score_dictionary.iter() {
27+
println!("score_hash {} -> {}", score, list_entry.masternode_list_entry.pro_reg_tx_hash);
28+
}
29+
}
2230
score_dictionary.into_values().take(llmq_type.size() as usize).collect()
2331
}
2432

0 commit comments

Comments
 (0)