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 May 9, 2024
1 parent b676f5e commit 1161375
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,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 @@ -113,8 +113,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 1161375

Please sign in to comment.