Skip to content

Mutable token program #2

@Henry-E

Description

@Henry-E

#[account(mut)]
/// CHECK: Safe, we check the address in the lending_admin PDA
pub liquidity_program: UncheckedAccount<'info>,

What's up with setting the token program to mutable here and in a number of other places? Just fyi it's going to brick your program integrators if you set this to immutable later on.

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