Skip to content

Commit fe20e24

Browse files
committed
crc: comment around mark_block_globally_accepted
1 parent 2fd4e78 commit fe20e24

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

stacks-signer/src/signerdb.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,7 +1120,8 @@ impl SignerDb {
11201120
tenure_extend_timestamp
11211121
}
11221122

1123-
/// Mark a block as globally accepted
1123+
/// Mark a block as globally accepted. This removes the block from the pending
1124+
/// validations table. This does **not** update the block's state in SignerDb.
11241125
pub fn mark_block_globally_accepted(&self, block_info: &mut BlockInfo) -> Result<(), DBError> {
11251126
block_info
11261127
.mark_globally_accepted()
@@ -1129,7 +1130,8 @@ impl SignerDb {
11291130
Ok(())
11301131
}
11311132

1132-
/// Mark a block as globally rejected
1133+
/// Mark a block as globally rejected. This removes the block from the pending
1134+
/// validations table. This does **not** update the block's state in SignerDb.
11331135
pub fn mark_block_globally_rejected(&self, block_info: &mut BlockInfo) -> Result<(), DBError> {
11341136
block_info
11351137
.mark_globally_rejected()

0 commit comments

Comments
 (0)