From fd46347a69036f52fbe300170c1a79c6e74b9f84 Mon Sep 17 00:00:00 2001 From: Bobface Date: Mon, 29 Apr 2024 14:45:30 +0200 Subject: [PATCH] Fix transaction_type comment --- ethers-core/src/types/transaction/response.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ethers-core/src/types/transaction/response.rs b/ethers-core/src/types/transaction/response.rs index 254fcdc38..7dfc10311 100644 --- a/ethers-core/src/types/transaction/response.rs +++ b/ethers-core/src/types/transaction/response.rs @@ -101,8 +101,8 @@ pub struct Transaction { pub gateway_fee: Option, // EIP2718 - /// Transaction type, Some(2) for EIP-1559 transaction, - /// Some(1) for AccessList transaction, None for Legacy + /// Transaction type, Some(3) for Blob transactions, Some(2) for EIP-1559 transaction, + /// Some(1) for AccessList transaction, Some(0) or None for Legacy #[serde(rename = "type", default, skip_serializing_if = "Option::is_none")] pub transaction_type: Option,