From 3a6a5e0efdaaa9c12b494b495816c03b0173d967 Mon Sep 17 00:00:00 2001 From: Stefan Bratanov Date: Thu, 2 Nov 2023 16:05:52 +0000 Subject: [PATCH] rename delegate to listener --- .../BlobSidecarsByRootListenerValidatingProxy.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/networking/eth2/src/main/java/tech/pegasys/teku/networking/eth2/rpc/beaconchain/methods/BlobSidecarsByRootListenerValidatingProxy.java b/networking/eth2/src/main/java/tech/pegasys/teku/networking/eth2/rpc/beaconchain/methods/BlobSidecarsByRootListenerValidatingProxy.java index 1680d1b43f4..e004acc42b0 100644 --- a/networking/eth2/src/main/java/tech/pegasys/teku/networking/eth2/rpc/beaconchain/methods/BlobSidecarsByRootListenerValidatingProxy.java +++ b/networking/eth2/src/main/java/tech/pegasys/teku/networking/eth2/rpc/beaconchain/methods/BlobSidecarsByRootListenerValidatingProxy.java @@ -25,16 +25,16 @@ public class BlobSidecarsByRootListenerValidatingProxy extends BlobSidecarsByRootValidator implements RpcResponseListener { - private final RpcResponseListener delegate; + private final RpcResponseListener listener; public BlobSidecarsByRootListenerValidatingProxy( final Peer peer, final Spec spec, - final RpcResponseListener delegate, + final RpcResponseListener listener, final KZG kzg, final List expectedBlobIdentifiers) { super(peer, spec, kzg, expectedBlobIdentifiers); - this.delegate = delegate; + this.listener = listener; } @Override @@ -42,7 +42,7 @@ public SafeFuture onResponse(final BlobSidecar blobSidecar) { return SafeFuture.of( () -> { validate(blobSidecar); - return delegate.onResponse(blobSidecar); + return listener.onResponse(blobSidecar); }); } }