@@ -73,7 +73,7 @@ impl GlobalStateEvaluator {
73
73
local_address : StacksAddress ,
74
74
local_update : StateMachineUpdateMessage ,
75
75
) -> Option < u64 > {
76
- self . insert_update ( local_address. clone ( ) , local_update) ;
76
+ self . insert_update ( local_address, local_update) ;
77
77
let mut protocol_versions = HashMap :: new ( ) ;
78
78
for ( address, update) in & self . address_updates {
79
79
let Some ( weight) = self . address_weights . get ( address) else {
@@ -94,7 +94,7 @@ impl GlobalStateEvaluator {
94
94
return Some ( version) ;
95
95
}
96
96
}
97
- return None ;
97
+ None
98
98
}
99
99
100
100
/// Determine what the global burn view is if there is one
@@ -103,7 +103,7 @@ impl GlobalStateEvaluator {
103
103
local_address : StacksAddress ,
104
104
local_update : StateMachineUpdateMessage ,
105
105
) -> Option < ( ConsensusHash , u64 ) > {
106
- self . insert_update ( local_address. clone ( ) , local_update) ;
106
+ self . insert_update ( local_address, local_update) ;
107
107
let mut burn_blocks = HashMap :: new ( ) ;
108
108
for ( address, update) in & self . address_updates {
109
109
let Some ( weight) = self . address_weights . get ( address) else {
0 commit comments