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 dd86667 commit 9e62a06Copy full SHA for 9e62a06
p-token/src/processor/close_account.rs
@@ -49,6 +49,8 @@ pub fn process_close_account(accounts: &[AccountInfo]) -> ProgramResult {
49
// there are no "active" borrows of `source_account_info` account data.
50
unsafe {
51
// Moves the lamports to the destination account.
52
+ //
53
+ // Note: The total lamports supply is bound to `u64::MAX`.
54
*destination_account_info.borrow_mut_lamports_unchecked() += source_account_info.lamports();
55
// Closes the source account.
56
source_account_info.close_unchecked();
0 commit comments