We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d21872 commit c89cf7fCopy full SHA for c89cf7f
stackslib/src/chainstate/stacks/db/transactions.rs
@@ -593,8 +593,9 @@ impl StacksChainState {
593
}
594
595
/// Apply a post-conditions check.
596
- /// Return true if they all pass.
597
- /// Return false if at least one fails.
+ /// Return `Ok(None)` if the check passes.
+ /// Return `Ok(Some(reason))` if the check fails.
598
+ /// Return `Err` if the check cannot be performed.
599
fn check_transaction_postconditions(
600
post_conditions: &[TransactionPostCondition],
601
post_condition_mode: &TransactionPostConditionMode,
0 commit comments