You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dash/src/sml/masternode_list_engine/mod.rs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -131,7 +131,7 @@ impl MasternodeListEngine {
131
131
// we are going from the start
132
132
let block_hash = masternode_list_diff.block_hash;
133
133
134
-
let masternode_list = masternode_list_diff.try_into_with_block_hash_lookup(|block_hash| diff_end_height,self.network)?;
134
+
let masternode_list = masternode_list_diff.try_into_with_block_hash_lookup(|block_hash| diff_end_height.and_then(self.block_heights.get(&block_hash)),self.network)?;
0 commit comments