fix: dont skip null to field (#1631)
This commit is contained in:
parent
c8e9d46cfa
commit
b302ac05be
|
@ -40,7 +40,7 @@ pub struct Transaction {
|
|||
pub from: Address,
|
||||
|
||||
/// Recipient (None when contract creation)
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
#[serde(default)]
|
||||
pub to: Option<Address>,
|
||||
|
||||
/// Transferred value
|
||||
|
|
Loading…
Reference in New Issue