Skip to content

Commit c89cf7f

Browse files
committed
docs: update rustdoc
1 parent 2d21872 commit c89cf7f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

stackslib/src/chainstate/stacks/db/transactions.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -593,8 +593,9 @@ impl StacksChainState {
593593
}
594594

595595
/// Apply a post-conditions check.
596-
/// Return true if they all pass.
597-
/// Return false if at least one fails.
596+
/// Return `Ok(None)` if the check passes.
597+
/// Return `Ok(Some(reason))` if the check fails.
598+
/// Return `Err` if the check cannot be performed.
598599
fn check_transaction_postconditions(
599600
post_conditions: &[TransactionPostCondition],
600601
post_condition_mode: &TransactionPostConditionMode,

0 commit comments

Comments
 (0)