Skip to content

Is this line reachable? invoke_signed or invoke will cause the entire tx fail if the callee returns an error or aborts #117

@eulerbeat5

Description

@eulerbeat5

result.map_err(|_| LendingError::TokenTransferFailed.into())

Explanation of invoke below:
https://docs.rs/solana-program/1.13.5/src/solana_program/program.rs.html#30-32

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions