|
@@ -45,6 +45,7 @@ pub struct IdlInstruction {
|
|
pub name: String,
|
|
pub name: String,
|
|
pub accounts: Vec<IdlAccountItem>,
|
|
pub accounts: Vec<IdlAccountItem>,
|
|
pub args: Vec<IdlField>,
|
|
pub args: Vec<IdlField>,
|
|
|
|
+ #[serde(skip_serializing_if = "Option::is_none")]
|
|
pub returns: Option<IdlType>,
|
|
pub returns: Option<IdlType>,
|
|
}
|
|
}
|
|
|
|
|