File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed
testnet/stacks-node/src/nakamoto_node Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -354,17 +354,14 @@ impl StackerDBListener {
354
354
let ( lock, cvar) = & * self . blocks ;
355
355
let mut blocks = lock. lock ( ) . expect ( "FATAL: failed to lock block status" ) ;
356
356
357
- let block = match blocks. get_mut ( & rejected_data. signer_signature_hash ) {
358
- Some ( block) => block,
359
- None => {
360
- info ! (
361
- "StackerDBListener: Received rejection for block that we did not request. Ignoring." ;
362
- "block_signer_sighash" => %rejected_data. signer_signature_hash,
363
- "slot_id" => slot_id,
364
- "signer_set" => self . signer_set,
365
- ) ;
366
- continue ;
367
- }
357
+ let Some ( block) = blocks. get_mut ( & rejected_data. signer_signature_hash ) else {
358
+ info ! (
359
+ "StackerDBListener: Received rejection for block that we did not request. Ignoring." ;
360
+ "block_signer_sighash" => %rejected_data. signer_signature_hash,
361
+ "slot_id" => slot_id,
362
+ "signer_set" => self . signer_set,
363
+ ) ;
364
+ continue ;
368
365
} ;
369
366
370
367
let rejected_pubkey = match rejected_data. recover_public_key ( ) {
You can’t perform that action at this time.
0 commit comments