From a1c786c89b705744cf9b2169afb33d7fcb98ea2e Mon Sep 17 00:00:00 2001 From: Zoltan Papp Date: Mon, 26 Feb 2024 16:13:59 +0100 Subject: [PATCH] Rename ValidatePeer to SyncPeer --- integrations/approval.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/approval.go b/integrations/approval.go index e092cc4..5b5f1f6 100644 --- a/integrations/approval.go +++ b/integrations/approval.go @@ -16,6 +16,6 @@ func (v *IntegratedApprovalImpl) PreparePeer(_ string, peer *nbpeer.Peer, _ []st return peer.Copy() } -func (v *IntegratedApprovalImpl) ValidatePeer(string, *nbpeer.Peer, []string, []string) (bool, error) { +func (v *IntegratedApprovalImpl) SyncPeer(string, *nbpeer.Peer, []string, *account.ExtraSettings) (bool, error) { return true, nil }