File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,6 @@ use blockstack_lib::net::api::postblock_proposal::{
26
26
} ;
27
27
use blockstack_lib:: util_lib:: db:: Error as DBError ;
28
28
use clarity:: types:: chainstate:: StacksPrivateKey ;
29
- #[ cfg( any( test, feature = "testing" ) ) ]
30
- use clarity:: types:: chainstate:: StacksPublicKey ;
31
29
use clarity:: types:: { PrivateKey , StacksEpochId } ;
32
30
use clarity:: util:: hash:: { MerkleHashFunc , Sha512Trunc256Sum } ;
33
31
use clarity:: util:: secp256k1:: Secp256k1PublicKey ;
@@ -40,7 +38,7 @@ use libsigner::v0::messages::{
40
38
RejectReason , RejectReasonPrefix , SignerMessage ,
41
39
} ;
42
40
use libsigner:: { BlockProposal , SignerEvent } ;
43
- use stacks_common:: types:: chainstate:: StacksAddress ;
41
+ use stacks_common:: types:: chainstate:: { StacksAddress , StacksPublicKey } ;
44
42
use stacks_common:: util:: get_epoch_time_secs;
45
43
use stacks_common:: util:: secp256k1:: MessageSignature ;
46
44
use stacks_common:: { debug, error, info, warn} ;
Original file line number Diff line number Diff line change @@ -570,7 +570,7 @@ impl LocalStateMachine {
570
570
..
571
571
} = & update. content ;
572
572
573
- let weight = signer_weights. get ( & signer_address) . unwrap_or ( & 0 ) ;
573
+ let weight = signer_weights. get ( signer_address) . unwrap_or ( & 0 ) ;
574
574
let miners = current_miners. entry ( burn_block) . or_default ( ) ;
575
575
* miners. entry ( current_miner) . or_default ( ) += weight;
576
576
@@ -668,7 +668,6 @@ impl LocalStateMachine {
668
668
} ,
669
669
active_signer_protocol_version : * active_signer_protocol_version,
670
670
} ) ;
671
- return ;
672
671
}
673
672
}
674
673
}
You can’t perform that action at this time.
0 commit comments