File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -604,7 +604,7 @@ impl StacksMessageCodec for StateMachineUpdateMinerState {
604
604
parent_tenure_last_block. consensus_serialize ( fd) ?;
605
605
parent_tenure_last_block_height. consensus_serialize ( fd) ?;
606
606
}
607
- StateMachineUpdateMinerState :: NoValidMiner => return Ok ( ( ) ) ,
607
+ StateMachineUpdateMinerState :: NoValidMiner => { }
608
608
}
609
609
Ok ( ( ) )
610
610
}
@@ -628,7 +628,7 @@ impl StacksMessageCodec for StateMachineUpdateMinerState {
628
628
} )
629
629
}
630
630
other => Err ( CodecError :: DeserializeError ( format ! (
631
- "Unexpect miner state variant in StateMachineUpdate: {other}"
631
+ "Unexpected miner state variant in StateMachineUpdate: {other}"
632
632
) ) ) ,
633
633
}
634
634
}
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ pub enum SignerChainstateError {
42
42
/// The signer could not find information about the parent tenure
43
43
#[ error( "No information available for parent tenure '{0}'" ) ]
44
44
NoParentTenureInfo ( ConsensusHash ) ,
45
- /// The signer could not find information about the parent tenure
45
+ /// The local state machine wasn't ready to be queried
46
46
#[ error( "The local state machine is not ready, so no update message can be produced" ) ]
47
47
LocalStateMachineNotReady ,
48
48
}
Original file line number Diff line number Diff line change @@ -962,7 +962,7 @@ impl SignerDb {
962
962
Ok ( ( ) )
963
963
}
964
964
965
- /// Get timestamp (epoch seconds) at which a burn block was received over the event dispatcheer by this signer
965
+ /// Get timestamp (epoch seconds) at which a burn block was received over the event dispatcher by this signer
966
966
/// if that burn block has been received.
967
967
pub fn get_burn_block_receive_time (
968
968
& self ,
@@ -979,7 +979,7 @@ impl SignerDb {
979
979
Ok ( Some ( receive_time) )
980
980
}
981
981
982
- /// Get timestamp (epoch seconds) at which a burn block was received over the event dispatcheer by this signer
982
+ /// Get timestamp (epoch seconds) at which a burn block was received over the event dispatcher by this signer
983
983
/// if that burn block has been received.
984
984
pub fn get_burn_block_receive_time_ch (
985
985
& self ,
You can’t perform that action at this time.
0 commit comments