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

Commit

Permalink
Change to Option<String> as suggested
Browse files Browse the repository at this point in the history
  • Loading branch information
wtdcode committed Apr 27, 2023
1 parent df1377c commit f20db98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethers-solc/src/artifacts/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1779,7 +1779,7 @@ pub struct Creation {

#[derive(Clone, Debug, Serialize, Deserialize, Eq, PartialEq)]
pub struct Ewasm {
#[serde(default)]
#[serde(default, skip_serializing_if = "Option::is_none")]
pub wast: String,
pub wasm: String,
}
Expand Down

0 comments on commit f20db98

Please sign in to comment.