Skip to content

Commit 040eeab

Browse files
committed
fix: properly set reject_code in block rejection
1 parent 0732212 commit 040eeab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stacks-signer/src/v0/signer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ impl Signer {
433433
"reject_reason" => %reject_code,
434434
"reject_code" => ?reject_code,
435435
);
436-
Some(self.create_block_rejection(RejectCode::SortitionViewMismatch, block))
436+
Some(self.create_block_rejection(reject_code, block))
437437
}
438438
// Block proposal passed check, still don't know if valid
439439
Ok(_) => None,

0 commit comments

Comments
 (0)