File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
testnet/stacks-node/src/tests/signer Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -1782,10 +1782,7 @@ fn block_proposal_rejection() {
1782
1782
if signer_signature_hash == block_signer_signature_hash_1 {
1783
1783
found_signer_signature_hash_1 = true;
1784
1784
assert_eq!(reason_code, RejectCode::SortitionViewMismatch,);
1785
- assert!(matches!(
1786
- response_data.reject_reason,
1787
- RejectReason::ConsensusHashMismatch { .. }
1788
- ));
1785
+ assert_eq!(response_data.reject_reason, RejectReason::InvalidBitvec);
1789
1786
} else if signer_signature_hash == block_signer_signature_hash_2 {
1790
1787
found_signer_signature_hash_2 = true;
1791
1788
assert!(matches!(
@@ -7125,7 +7122,7 @@ fn empty_tenure_delayed() {
7125
7122
})) = latest_msg
7126
7123
{
7127
7124
assert_eq!(reason_code, RejectCode::SortitionViewMismatch);
7128
- assert!(matches!( response_data.reject_reason, RejectReason::ConsensusHashMismatch {..} ) );
7125
+ assert_eq!( response_data.reject_reason, RejectReason::InvalidMiner );
7129
7126
assert_eq!(metadata.server_version, VERSION_STRING.to_string());
7130
7127
found_rejections.push(*slot_id);
7131
7128
} else {
You can’t perform that action at this time.
0 commit comments