Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
fix serialization (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
ozgunozerk authored Dec 6, 2022
1 parent f008487 commit d5bb39b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pub(crate) struct Config {
#[derive(Deserialize, Serialize)]
pub(crate) struct NodeConfig {
pub(crate) directory: PathBuf,
#[serde(default, flatten)]
#[serde(default)]
pub(crate) node: SdkNodeConfig,
}

Expand Down Expand Up @@ -84,7 +84,7 @@ pub(crate) struct FarmerConfig {
#[serde(with = "bytesize_serde")]
pub(crate) plot_size: ByteSize,
pub(crate) cache: CacheDescription,
#[serde(default, flatten)]
#[serde(default)]
pub(crate) farmer: SdkFarmerConfig,
}

Expand Down

0 comments on commit d5bb39b

Please sign in to comment.