Skip to content

Commit 7d56b83

Browse files
bincode serialization
1 parent d59fac4 commit 7d56b83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dash/src/sml/masternode_list/apply_diff.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ impl MasternodeList {
2424

2525
// Remove deleted masternodes
2626
for pro_tx_hash in diff.deleted_masternodes {
27-
updated_masternodes.remove(&pro_tx_hash);
27+
updated_masternodes.remove(&pro_tx_hash.reverse());
2828
}
2929

3030
// Add or update new masternodes
3131
for new_mn in diff.new_masternodes {
32-
updated_masternodes.insert(new_mn.pro_reg_tx_hash, new_mn.into());
32+
updated_masternodes.insert(new_mn.pro_reg_tx_hash.reverse(), new_mn.into());
3333
}
3434

3535
// Create a new quorums map by cloning the existing one

0 commit comments

Comments
 (0)