From dc6841b8b19bca7c5cd164044c2ab4cd00ba6f41 Mon Sep 17 00:00:00 2001 From: Tamika Nomara Date: Mon, 26 Jul 2021 17:32:43 +0300 Subject: [PATCH] First mock implementation --- ethcontract-mock/src/sign.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethcontract-mock/src/sign.rs b/ethcontract-mock/src/sign.rs index f0bfe710..7551dc0e 100644 --- a/ethcontract-mock/src/sign.rs +++ b/ethcontract-mock/src/sign.rs @@ -17,7 +17,7 @@ pub struct Transaction { /// /// Panics if transaction is malformed or if verification fails. pub fn verify(raw_tx: &[u8], node_chain_id: u64) -> Transaction { - let rlp = rlp::Rlp::new(&raw_tx); + let rlp = rlp::Rlp::new(raw_tx); fn err() -> ! { panic!("invalid transaction data");