Skip to content

program: Fix the account docs for CloseAccount and Reallocate - #387

Merged
samkim-crypto merged 1 commit into
solana-program:mainfrom
Iamsohungrynow:docs/close-account-reallocate-accounts
Nov 8, 2026
Merged

samkim-crypto merged 1 commit into
solana-program:mainfrom
Iamsohungrynow:docs/close-account-reallocate-accounts

Conversation

@Iamsohungrynow

Copy link
Copy Markdown
Contributor

the CloseAccount receiver is listed as [] but it takes the lamports, so a read-only one fails with ReadonlyLamportChange (simulated on mainnet), and Reallocate is signed by the record authority, not the account's owner

@samkim-crypto samkim-crypto left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot!

@samkim-crypto
samkim-crypto merged commit 7b39485 into solana-program:main Nov 8, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants