Skip to content

Commit 347895c

Browse files
clean
1 parent 48f6401 commit 347895c

File tree

1 file changed

+1
-3
lines changed
  • create-and-update/programs/create-and-update/src

1 file changed

+1
-3
lines changed

create-and-update/programs/create-and-update/src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,9 +260,7 @@ pub struct GenericAnchorAccounts<'info> {
260260
pub signer: Signer<'info>,
261261
}
262262

263-
// #[derive(Debug, Default, BorshSerialize, BorshDeserialize, LightDiscriminator, LightHasher)]
264263
#[derive(Clone, LightDiscriminator, Default, AnchorDeserialize, AnchorSerialize)]
265-
// #[account]
266264
pub struct DataAccount {
267265
pub owner: Pubkey,
268266
pub message: String,
@@ -287,7 +285,7 @@ pub struct NewCompressedAccountIxData {
287285
pub message: String,
288286
}
289287

290-
// for idl generation.
288+
// stubs for idl.
291289
#[event]
292290
pub struct AccountTypes {
293291
pub data_account: DataAccount,

0 commit comments

Comments
 (0)