From cbd053ca41cc6f1282a7c752db0b9caa2438baad Mon Sep 17 00:00:00 2001 From: Zoltan Papp Date: Wed, 14 Feb 2024 11:32:16 +0100 Subject: [PATCH] Remove unused argument --- integrations/approval.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/approval.go b/integrations/approval.go index 454089b..b274054 100644 --- a/integrations/approval.go +++ b/integrations/approval.go @@ -16,6 +16,6 @@ func (v *IntegratedApprovalImpl) PreparePeer(peer *nbpeer.Peer, _ *account.Extra return peer.Copy() } -func (v *IntegratedApprovalImpl) ValidatePeer(*nbpeer.Peer, []string) (bool, error) { +func (v *IntegratedApprovalImpl) ValidatePeer(*nbpeer.Peer) (bool, error) { return true, nil }