Skip to content

Commit

Permalink
👿
Browse files Browse the repository at this point in the history
if you like it then you should have put a box 'round it

Change-Id: I504dd476f53bb5d0dd101a5278f485e83b32bd08
  • Loading branch information
hendrikhofstadt committed Aug 25, 2021
1 parent 5f52dc6 commit a8a8cbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion solana/solitaire/program/src/processors/peel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ impl<
};
}

Ok(Data(ctx.info().clone(), data))
Ok(Data(Box::new(ctx.info().clone()), data))
}

fn deps() -> Vec<Pubkey> {
Expand Down
2 changes: 1 addition & 1 deletion solana/solitaire/program/src/types/accounts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pub enum AccountState {
/// Data<(), { AccountState::Uninitialized }>
#[rustfmt::skip]
pub struct Data<'r, T: Owned + Default, const IsInitialized: AccountState> (
pub Info<'r>,
pub Box<Info<'r>>,
pub T,
);

Expand Down

0 comments on commit a8a8cbe

Please sign in to comment.