Skip to content

Commit 221098e

Browse files
committed
fix, apply default
1 parent 18c4ceb commit 221098e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cache.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ impl BlockchainDb {
130130
#[derive(Clone, Debug, Default, Eq, Serialize)]
131131
pub struct BlockchainDbMeta {
132132
/// The chain of the blockchain of the block environment
133-
#[serde(skip_serializing_if = "Option::is_none")]
133+
#[serde(default, skip_serializing_if = "Option::is_none")]
134134
pub chain: Option<Chain>,
135135
/// The block environment
136136
pub block_env: BlockEnv,

0 commit comments

Comments
 (0)