diff --git a/Cargo.toml b/Cargo.toml index edddbcf..b4567ce 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ethereum-tx-sign" -version = "6.1.2" +version = "6.1.3" description = "Allows you to sign Ethereum transactions offline." repository = "https://github.com/synlestidae/ethereum-tx-sign" license = "MIT" diff --git a/src/lib.rs b/src/lib.rs index 71c8cf0..f478682 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -209,7 +209,7 @@ pub struct Access { #[derive(Debug, Default, Clone, Deserialize, Serialize, PartialEq, Eq)] /// [EIP-2930](https://eips.ethereum.org/EIPS/eip-2930) access list. -pub struct AccessList(Vec); +pub struct AccessList(pub Vec); impl Encodable for AccessList { /// Encodes the access list according to [EIP-2930](https://eips.ethereum.org/EIPS/eip-2930).