From 58b7668dbd8d4c7514c2532923736784031055fb Mon Sep 17 00:00:00 2001 From: Hans Moog <3293976+hmoog@users.noreply.github.com> Date: Tue, 3 Oct 2023 15:46:33 +0200 Subject: [PATCH] Feat: removed unused params --- pkg/protocol/engine/mempool/tests/vm.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/protocol/engine/mempool/tests/vm.go b/pkg/protocol/engine/mempool/tests/vm.go index 594e49d5f..f8a05cbfe 100644 --- a/pkg/protocol/engine/mempool/tests/vm.go +++ b/pkg/protocol/engine/mempool/tests/vm.go @@ -14,11 +14,11 @@ func (V *VM) StateReferences(transaction mempool.Transaction) ([]mempool.StateRe return transaction.(*Transaction).Inputs() } -func (V *VM) ValidateSignatures(signedTransaction mempool.SignedTransaction, resolvedInputs []mempool.State) (executionContext context.Context, err error) { +func (V *VM) ValidateSignatures(_ mempool.SignedTransaction, _ []mempool.State) (executionContext context.Context, err error) { return context.Background(), nil } -func (V *VM) Execute(executionContext context.Context, transaction mempool.Transaction) (outputs []mempool.State, err error) { +func (V *VM) Execute(_ context.Context, transaction mempool.Transaction) (outputs []mempool.State, err error) { typedTransaction, ok := transaction.(*Transaction) if !ok { return nil, ierrors.New("invalid transaction type in MockedVM")