diff --git a/ethers-etherscan/src/account.rs b/ethers-etherscan/src/account.rs index 60f6c047..aa096d7c 100644 --- a/ethers-etherscan/src/account.rs +++ b/ethers-etherscan/src/account.rs @@ -186,6 +186,7 @@ pub struct NormalTransaction { pub transaction_index: Option, #[serde(with = "genesis_string")] pub from: GenesisOption
, + #[serde(with = "json_string")] pub to: Option
, #[serde(deserialize_with = "deserialize_stringified_numeric")] pub value: U256, @@ -797,7 +798,7 @@ mod tests { let txs = client .get_transactions( - &"0x58eB28A67731c570Ef827C365c89B5751F9E6b0a".parse().unwrap(), + &"0x4F26FfBe5F04ED43630fdC30A87638d53D0b0876".parse().unwrap(), None, ) .await;