From d6d76c60245932c8ae927a6ade06e51b99e16652 Mon Sep 17 00:00:00 2001 From: DeGatchi <72078332+DeGatchi@users.noreply.github.com> Date: Wed, 8 Jun 2022 20:28:32 +1000 Subject: [PATCH] fix: `Transfered` -> `Transferred* (#1357) --- ethers-core/src/types/trace/filter.rs | 2 +- ethers-core/src/types/transaction/eip1559.rs | 2 +- ethers-core/src/types/transaction/request.rs | 2 +- ethers-core/src/types/transaction/response.rs | 2 +- ethers-core/src/types/txpool.rs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ethers-core/src/types/trace/filter.rs b/ethers-core/src/types/trace/filter.rs index f1a2d22c..9d0a6aaa 100644 --- a/ethers-core/src/types/trace/filter.rs +++ b/ethers-core/src/types/trace/filter.rs @@ -181,7 +181,7 @@ pub struct Call { pub from: Address, /// Recipient pub to: Address, - /// Transfered Value + /// Transferred Value pub value: U256, /// Gas pub gas: U256, diff --git a/ethers-core/src/types/transaction/eip1559.rs b/ethers-core/src/types/transaction/eip1559.rs index 396e88da..00fcabf3 100644 --- a/ethers-core/src/types/transaction/eip1559.rs +++ b/ethers-core/src/types/transaction/eip1559.rs @@ -36,7 +36,7 @@ pub struct Eip1559TransactionRequest { #[serde(skip_serializing_if = "Option::is_none")] pub gas: Option, - /// Transfered value (None for no transfer) + /// Transferred value (None for no transfer) #[serde(skip_serializing_if = "Option::is_none")] pub value: Option, diff --git a/ethers-core/src/types/transaction/request.rs b/ethers-core/src/types/transaction/request.rs index 03712b84..25270d92 100644 --- a/ethers-core/src/types/transaction/request.rs +++ b/ethers-core/src/types/transaction/request.rs @@ -42,7 +42,7 @@ pub struct TransactionRequest { #[serde(skip_serializing_if = "Option::is_none")] pub gas_price: Option, - /// Transfered value (None for no transfer) + /// Transferred value (None for no transfer) #[serde(skip_serializing_if = "Option::is_none")] pub value: Option, diff --git a/ethers-core/src/types/transaction/response.rs b/ethers-core/src/types/transaction/response.rs index 056dbdfd..16bd1502 100644 --- a/ethers-core/src/types/transaction/response.rs +++ b/ethers-core/src/types/transaction/response.rs @@ -42,7 +42,7 @@ pub struct Transaction { #[serde(skip_serializing_if = "Option::is_none")] pub to: Option
, - /// Transfered value + /// Transferred value pub value: U256, /// Gas Price, null for Type 2 transactions diff --git a/ethers-core/src/types/txpool.rs b/ethers-core/src/types/txpool.rs index 93d7b75e..0b023cf4 100644 --- a/ethers-core/src/types/txpool.rs +++ b/ethers-core/src/types/txpool.rs @@ -11,7 +11,7 @@ use std::{collections::BTreeMap, fmt, str::FromStr}; pub struct TxpoolInspectSummary { /// Recipient (None when contract creation) pub to: Option
, - /// Transfered value + /// Transferred value pub value: U256, /// Gas amount pub gas: U256,