Skip to content

Commit 1161375

Browse files
committed
solana: change comment to revert_on_delay
1 parent b676f5e commit 1161375

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

solana/programs/example-native-token-transfers/src/instructions/release_inbound.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ pub struct ReleaseInboundMint<'info> {
5555
}
5656

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

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

0 commit comments

Comments
 (0)