From 7cc7d9b4fc7c57abf5905e5650366f992dbbfb18 Mon Sep 17 00:00:00 2001 From: moana Date: Fri, 9 Aug 2024 18:30:30 +0200 Subject: [PATCH] rusk: Fix clippy --- rusk/src/lib/node/vm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rusk/src/lib/node/vm.rs b/rusk/src/lib/node/vm.rs index 342efb1ab2..918f4161eb 100644 --- a/rusk/src/lib/node/vm.rs +++ b/rusk/src/lib/node/vm.rs @@ -135,7 +135,7 @@ impl VMExecution for Rusk { } ProtocolTransaction::Moonlight(tx) => { let account_data = - self.account(&tx.from_account()).map_err(|e| { + self.account(tx.from_account()).map_err(|e| { anyhow::anyhow!("Cannot check account: {e}") })?;