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 c3845f1 commit 2edf20bCopy full SHA for 2edf20b
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