Skip to content

Bug: Executive returns 0 priority instead of priority from constraint checker #187

@JoshOrndorff

Description

@JoshOrndorff

Constraint checkers have the ability to provide a priority. While many of them currently return 0, the money one returns a useful value. The executive currently fails to use this priority:

// Return the valid transaction
Ok(ValidTransaction {
requires: Vec::new(),
provides,
priority: 0,
longevity: TransactionLongevity::max_value(),
propagate: true,
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions