From b95cf1cd2685846b99f3b0fbd86eefd3269f2355 Mon Sep 17 00:00:00 2001 From: Zoltan Papp Date: Fri, 16 Feb 2024 08:37:00 +0100 Subject: [PATCH] Change arguments --- integrations/approval.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integrations/approval.go b/integrations/approval.go index b274054..e092cc4 100644 --- a/integrations/approval.go +++ b/integrations/approval.go @@ -12,10 +12,10 @@ func NewIntegratedApproval() *IntegratedApprovalImpl { return &IntegratedApprovalImpl{} } -func (v *IntegratedApprovalImpl) PreparePeer(peer *nbpeer.Peer, _ *account.ExtraSettings) *nbpeer.Peer { +func (v *IntegratedApprovalImpl) PreparePeer(_ string, peer *nbpeer.Peer, _ []string, _ *account.ExtraSettings) *nbpeer.Peer { return peer.Copy() } -func (v *IntegratedApprovalImpl) ValidatePeer(*nbpeer.Peer) (bool, error) { +func (v *IntegratedApprovalImpl) ValidatePeer(string, *nbpeer.Peer, []string, []string) (bool, error) { return true, nil }