From c3770fe1cdf7247b5806b2f77a29df26738e46fe Mon Sep 17 00:00:00 2001 From: Julian Len Date: Tue, 17 Dec 2024 18:26:10 -0300 Subject: [PATCH] fix: bridgeEventLogger as a local variable --- .../src/test/java/co/rsk/peg/RegisterBtcTransactionIT.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rskj-core/src/test/java/co/rsk/peg/RegisterBtcTransactionIT.java b/rskj-core/src/test/java/co/rsk/peg/RegisterBtcTransactionIT.java index 725ab83fbb..857b99a3cf 100644 --- a/rskj-core/src/test/java/co/rsk/peg/RegisterBtcTransactionIT.java +++ b/rskj-core/src/test/java/co/rsk/peg/RegisterBtcTransactionIT.java @@ -49,7 +49,6 @@ class RegisterBtcTransactionIT { private int btcBlockWithPmtHeight; private RskAddress rskReceiver; private BridgeSupport bridgeSupport; - private BridgeEventLoggerImpl bridgeEventLogger; private ArrayList logs; @@ -90,7 +89,7 @@ void setUp() throws Exception{ int chainHeight = btcBlockWithPmtHeight + bridgeConstants.getBtc2RskMinimumAcceptableConfirmations(); logs = new ArrayList<>(); - bridgeEventLogger = new BridgeEventLoggerImpl(bridgeConstants, activations, logs); + BridgeEventLoggerImpl bridgeEventLogger = new BridgeEventLoggerImpl(bridgeConstants, activations, logs); recreateChainFromPmt(btcBlockStoreWithCache, chainHeight, pmtWithTransactions, btcBlockWithPmtHeight, btcNetworkParams); bridgeStorageProvider.save();