Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyLi28 committed Nov 22, 2024
1 parent a1ede67 commit 6cbe701
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions programs/mmm/src/instructions/cnft/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pub mod sol_cnft_fulfill_buy;
pub mod metadata_args;
pub mod sol_cnft_fulfill_buy;

pub use metadata_args::*;
pub use sol_cnft_fulfill_buy::*;
pub use metadata_args::*;
4 changes: 2 additions & 2 deletions programs/mmm/src/instructions/mod.rs
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
#![allow(missing_docs)]

pub mod admin;
pub mod cnft;
pub mod ext_vanilla;
pub mod mip1;
pub mod mpl_core_asset;
pub mod ocp;
pub mod vanilla;
pub mod cnft;

pub use admin::*;
pub use cnft::*;
pub use ext_vanilla::*;
pub use mip1::*;
pub use mpl_core_asset::*;
pub use ocp::*;
pub use vanilla::*;
pub use cnft::*;

use anchor_lang::{prelude::*, AnchorDeserialize, AnchorSerialize};

Expand Down
2 changes: 0 additions & 2 deletions programs/mmm/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ impl SellState {
200; // padding
}


// Wrapper structs to replace the Anchor program types until the Metaplex libs have
// better Anchor support.
pub struct BubblegumProgram;
Expand All @@ -149,7 +148,6 @@ impl Id for BubblegumProgram {
}
}


#[derive(Clone)]
pub struct TreeConfigAnchor(pub TreeConfig);

Expand Down
3 changes: 2 additions & 1 deletion sdk/src/mmmClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,8 @@ export class MMMClient {
| ReturnType<MmmMethodsNamespace['solFulfillBuy']>
| ReturnType<MmmMethodsNamespace['solMip1FulfillBuy']>
| ReturnType<MmmMethodsNamespace['solExtFulfillBuy']>
| ReturnType<MmmMethodsNamespace['solMplCoreFulfillBuy']>;
| ReturnType<MmmMethodsNamespace['solMplCoreFulfillBuy']>
| ReturnType<MmmMethodsNamespace['cnftFulfillBuy']>;

const mintOrCoreAsset = await this.conn.getAccountInfo(assetMint);
let { key: buysideSolEscrowAccount } = getMMMBuysideSolEscrowPDA(
Expand Down

0 comments on commit 6cbe701

Please sign in to comment.