From a1d2b1fce3f84d9184ef385da7273f578cf4eedc Mon Sep 17 00:00:00 2001 From: Thomas Coratger Date: Thu, 21 Mar 2024 21:18:15 +0100 Subject: [PATCH] small nit --- starknet-core/src/types/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/starknet-core/src/types/mod.rs b/starknet-core/src/types/mod.rs index b7d149d2..42cd78d3 100644 --- a/starknet-core/src/types/mod.rs +++ b/starknet-core/src/types/mod.rs @@ -504,7 +504,7 @@ impl L1HandlerTransaction { .map_err(|_| ParseMsgToL2Error::FromAddressOutOfRange)?, to_address: self.contract_address, selector: self.entry_point_selector, - payload: payload.to_vec(), + payload: payload.into(), nonce: self.nonce, }) },