From 7af36217ac1f3039a3b583a070876c4b79452e7c Mon Sep 17 00:00:00 2001 From: Pascal Fischer <32096965+pascal-fischer@users.noreply.github.com> Date: Fri, 10 Oct 2025 15:48:43 +0200 Subject: [PATCH] Pass temporary flag to prepare peer (#38) --- integrations/validator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/validator.go b/integrations/validator.go index 8acc231..0b5fe46 100644 --- a/integrations/validator.go +++ b/integrations/validator.go @@ -26,7 +26,7 @@ func (v *IntegratedValidatorImpl) ValidatePeer(_ context.Context, update *nbpeer return update, false, nil } -func (v *IntegratedValidatorImpl) PreparePeer(_ context.Context, _ string, peer *nbpeer.Peer, _ []string, _ *types.ExtraSettings) *nbpeer.Peer { +func (v *IntegratedValidatorImpl) PreparePeer(_ context.Context, _ string, peer *nbpeer.Peer, _ []string, _ *types.ExtraSettings, _ bool) *nbpeer.Peer { return peer.Copy() }