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() {
506
506
signer_test. wait_for_validate_reject_response ( short_timeout, block_signer_signature_hash_2) ;
507
507
assert ! ( matches!(
508
508
reject. reason_code,
509
- ValidateRejectCode :: UnknownParent
509
+ ValidateRejectCode :: InvalidBlock
510
510
) ) ;
511
511
512
512
let start_polling = Instant :: now ( ) ;
@@ -532,7 +532,10 @@ fn block_proposal_rejection() {
532
532
assert ! ( matches!( reason_code, RejectCode :: SortitionViewMismatch ) ) ;
533
533
} else if signer_signature_hash == block_signer_signature_hash_2 {
534
534
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
+ ) ) ;
536
539
} else {
537
540
continue ;
538
541
}
You can’t perform that action at this time.
0 commit comments