From fa1eecd74e6006c143810729301e741f0049aeb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Costin=20Caraba=C8=99?= Date: Tue, 10 Oct 2023 09:57:32 +0300 Subject: [PATCH] Paymaster: Minor fixes after audit --- contracts/paymaster/src/forward_call.rs | 2 -- contracts/paymaster/src/paymaster.rs | 1 - 2 files changed, 3 deletions(-) diff --git a/contracts/paymaster/src/forward_call.rs b/contracts/paymaster/src/forward_call.rs index 54fb432a..72a149db 100644 --- a/contracts/paymaster/src/forward_call.rs +++ b/contracts/paymaster/src/forward_call.rs @@ -53,8 +53,6 @@ pub trait ForwardCall { err_result.push(ManagedBuffer::new_from_bytes(ERR_CALLBACK_MSG)); err_result.push(err.err_msg.clone()); - sc_print!("{}", err.err_msg); - err_result } } diff --git a/contracts/paymaster/src/paymaster.rs b/contracts/paymaster/src/paymaster.rs index e989f204..a5527945 100644 --- a/contracts/paymaster/src/paymaster.rs +++ b/contracts/paymaster/src/paymaster.rs @@ -5,7 +5,6 @@ multiversx_sc::imports!(); pub mod forward_call; const FEE_PAYMENT: usize = 0; -/// An empty contract. To be used as a template when starting a new contract from scratch. #[multiversx_sc::contract] pub trait PaymasterContract: forward_call::ForwardCall { #[init]