We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 441842b commit 8a6f904Copy full SHA for 8a6f904
p-token/src/processor/shared/transfer.rs
@@ -171,8 +171,8 @@ pub fn process_transfer(
171
if source_account.is_native() {
172
// SAFETY: single mutable borrow to `source_account_info` lamports.
173
let source_lamports = unsafe { source_account_info.borrow_mut_lamports_unchecked() };
174
- // Note: The amount of a source token account is already validated and the `lamports`
175
- // on the account is always greater than `amount`.
+ // Note: The amount of a source token account is already validated and the
+ // `lamports` on the account is always greater than `amount`.
176
*source_lamports -= amount;
177
178
// SAFETY: single mutable borrow to `destination_account_info` lamports; the
0 commit comments