Skip to content

Commit 63201b2

Browse files
fmt
1 parent 7516381 commit 63201b2

File tree

1 file changed

+8
-7
lines changed
  • packages/rs-drive/src/drive/votes/cleanup/remove_all_votes_given_by_identities/v0

1 file changed

+8
-7
lines changed

packages/rs-drive/src/drive/votes/cleanup/remove_all_votes_given_by_identities/v0/mod.rs

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,14 @@ impl Drive {
123123
// and updating the cache (https://github.com/dashpay/platform/pull/2305).
124124
// Full nodes are stuck and proceeded after re-sync.
125125
// For the mainnet chain, we enable this fix at the block when we consider the state is consistent.
126-
let transaction = if network == Network::Dash && chain_id == "evo1" && block_height < 33000 {
127-
// Old behaviour on mainnet
128-
None
129-
} else {
130-
// We should use transaction
131-
transaction
132-
};
126+
let transaction =
127+
if network == Network::Dash && chain_id == "evo1" && block_height < 33000 {
128+
// Old behaviour on mainnet
129+
None
130+
} else {
131+
// We should use transaction
132+
transaction
133+
};
133134

134135
self.apply_batch_low_level_drive_operations(
135136
None,

0 commit comments

Comments
 (0)