variable list from -> new

This commit is contained in:
sean 2023-02-05 17:56:03 -05:00
parent 38db8d7952
commit 1315098c15

View File

@ -2201,7 +2201,7 @@ fn ethers_tx_to_bytes<T: EthSpec>(
} else { } else {
transaction.rlp().to_vec() transaction.rlp().to_vec()
}; };
Ok(VariableList::from(tx)) VariableList::new(tx).map_err(Into::into)
} }
#[cfg(test)] #[cfg(test)]