Skip to content

Commit

Permalink
solana: change comment to revert_on_delay
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsaigle committed Apr 2, 2024
1 parent 4b07645 commit 8fa15bc
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ pub struct ReleaseInboundMint<'info> {
}

/// Release an inbound transfer and mint the tokens to the recipient.
/// When `revert_on_error` is true, the transaction will revert if the
/// release timestamp has not been reached. When `revert_on_error` is false, the
/// When `revert_on_delay` is true, the transaction will revert if the
/// release timestamp has not been reached. When `revert_on_delay` is false, the
/// transaction succeeds, but the minting is not performed.
/// Setting this flag to `false` is useful when bundling this instruction
/// together with [`crate::instructions::redeem`] in a transaction, so that the minting
Expand Down Expand Up @@ -112,8 +112,8 @@ pub struct ReleaseInboundUnlock<'info> {
}

/// Release an inbound transfer and unlock the tokens to the recipient.
/// When `revert_on_error` is true, the transaction will revert if the
/// release timestamp has not been reached. When `revert_on_error` is false, the
/// When `revert_on_delay` is true, the transaction will revert if the
/// release timestamp has not been reached. When `revert_on_delay` is false, the
/// transaction succeeds, but the unlocking is not performed.
/// Setting this flag to `false` is useful when bundling this instruction
/// together with [`crate::instructions::redeem`], so that the unlocking
Expand Down

0 comments on commit 8fa15bc

Please sign in to comment.