Skip to content

Potential panic on subscription_manager.unwrap() in node startup #137

@qj0r9j0vc2

Description

@qj0r9j0vc2

Node startup can panic if subscription_manager is None.

Location:
https://github.com/decipherhub/cipherbft/blob/main/crates/node/src/node.rs#L793

subscription_manager.clone().unwrap()

Should handle the None case gracefully instead of panicking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions