Skip to content

Commit 7935198

Browse files
authored
Fix feature flag for p2_parent (#308)
1 parent e699594 commit 7935198

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

crates/chia-sdk-driver/src/layers.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ mod option_contract_layer;
88
mod p2_curried_layer;
99
mod p2_delegated_conditions_layer;
1010
mod p2_one_of_many_layer;
11-
mod p2_parent;
1211
mod p2_singleton_layer;
1312
mod revocation_layer;
1413
mod royalty_transfer_layer;
@@ -27,7 +26,6 @@ pub use option_contract_layer::*;
2726
pub use p2_curried_layer::*;
2827
pub use p2_delegated_conditions_layer::*;
2928
pub use p2_one_of_many_layer::*;
30-
pub use p2_parent::*;
3129
pub use p2_singleton_layer::*;
3230
pub use revocation_layer::*;
3331
pub use royalty_transfer_layer::*;
@@ -47,3 +45,9 @@ mod action_layer;
4745

4846
#[cfg(feature = "action-layer")]
4947
pub use action_layer::*;
48+
49+
#[cfg(feature = "action-layer")]
50+
mod p2_parent;
51+
52+
#[cfg(feature = "action-layer")]
53+
pub use p2_parent::*;

crates/chia-sdk-driver/src/primitives.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ mod launcher;
88
mod mips;
99
mod nft;
1010
mod option;
11-
mod p2_parent_coin;
1211
mod singleton;
1312
mod streamed_asset;
1413
mod vault;
@@ -23,7 +22,6 @@ pub use launcher::*;
2322
pub use mips::*;
2423
pub use nft::*;
2524
pub use option::*;
26-
pub use p2_parent_coin::*;
2725
pub use singleton::*;
2826
pub use streamed_asset::*;
2927
pub use vault::*;
@@ -39,3 +37,9 @@ mod action_layer;
3937

4038
#[cfg(feature = "action-layer")]
4139
pub use action_layer::*;
40+
41+
#[cfg(feature = "action-layer")]
42+
mod p2_parent_coin;
43+
44+
#[cfg(feature = "action-layer")]
45+
pub use p2_parent_coin::*;

0 commit comments

Comments
 (0)