Answer by Jimii for When would #[account(signer)] constraint be used instead...
I think it's a style preference since both do the same thing.With #[account(signer)] and AccountInfo you will also have to include the CHECK: rustdoc comment to explain why you're using an unsigned...
View ArticleWhen would #[account(signer)] constraint be used instead of Signer account type?
The docs.rs page mentions:Consider using the Signer type if you would only have this constrainton the account.What would be some examples where you would want to use the #[account(signer)] constraint...
View Article
More Pages to Explore .....