Skip to content

Commit 8fa15bc

Browse files
committed
solana: change comment to revert_on_delay
1 parent 4b07645 commit 8fa15bc

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
@@ -54,8 +54,8 @@ pub struct ReleaseInboundMint<'info> {
5454
}
5555

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

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

0 commit comments

Comments
 (0)