Skip to content

Commit 1c7490f

Browse files
committed
Merge branch 'v3.1-dev' into chore/update-dashcore-08ade6e8
2 parents ba359d2 + a0dddb0 commit 1c7490f

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

  • packages/rs-drive-abci/src/execution/platform_events/core_based_updates/update_masternode_list/update_state_masternode_list/v0

packages/rs-drive-abci/src/execution/platform_events/core_based_updates/update_masternode_list/update_state_masternode_list/v0/mod.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,8 @@ where
6464
// the ban_height was changed
6565
validator.is_banned = maybe_ban_height.is_some();
6666
}
67-
if let Some(maybe_address) = dmn_state_diff.service {
68-
if let Some(address) = maybe_address {
69-
validator.node_ip = address.ip().to_string();
70-
}
67+
if let Some(Some(address)) = dmn_state_diff.service {
68+
validator.node_ip = address.ip().to_string();
7169
}
7270

7371
if let Some(p2p_port) = dmn_state_diff.platform_p2p_port {

0 commit comments

Comments
 (0)