File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
testnet/stacks-node/src/nakamoto_node Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -334,7 +334,7 @@ impl SignerCoordinator {
334
334
return false ;
335
335
}
336
336
// number or rejections changed?
337
- if status. total_reject_weight as u64 != rejections {
337
+ if u64 :: from ( status. total_reject_weight ) != rejections {
338
338
return false ;
339
339
}
340
340
// enough signatures?
@@ -388,8 +388,8 @@ impl SignerCoordinator {
388
388
}
389
389
} ;
390
390
391
- if rejections != block_status. total_reject_weight as u64 {
392
- rejections = block_status. total_reject_weight as u64 ;
391
+ if rejections != u64 :: from ( block_status. total_reject_weight ) {
392
+ rejections = u64 :: from ( block_status. total_reject_weight ) ;
393
393
let ( rejections_step, new_rejections_timeout) = self
394
394
. block_rejection_timeout_steps
395
395
. range ( ( Included ( 0 ) , Included ( rejections) ) )
You can’t perform that action at this time.
0 commit comments