File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
testnet/stacks-node/src/tests/signer Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -506,7 +506,7 @@ fn block_proposal_rejection() {
506506 signer_test. wait_for_validate_reject_response ( short_timeout, block_signer_signature_hash_2) ;
507507 assert ! ( matches!(
508508 reject. reason_code,
509- ValidateRejectCode :: UnknownParent
509+ ValidateRejectCode :: InvalidBlock
510510 ) ) ;
511511
512512 let start_polling = Instant :: now ( ) ;
@@ -532,7 +532,10 @@ fn block_proposal_rejection() {
532532 assert ! ( matches!( reason_code, RejectCode :: SortitionViewMismatch ) ) ;
533533 } else if signer_signature_hash == block_signer_signature_hash_2 {
534534 found_signer_signature_hash_2 = true ;
535- assert ! ( matches!( reason_code, RejectCode :: ValidationFailed ( _) ) ) ;
535+ assert ! ( matches!(
536+ reason_code,
537+ RejectCode :: ValidationFailed ( ValidateRejectCode :: InvalidBlock )
538+ ) ) ;
536539 } else {
537540 continue ;
538541 }
You can’t perform that action at this time.
0 commit comments