Skip to content

Commit

Permalink
fix: bridgeEventLogger as a local variable
Browse files Browse the repository at this point in the history
  • Loading branch information
julianlen committed Dec 17, 2024
1 parent 68a0f15 commit c3770fe
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ class RegisterBtcTransactionIT {
private int btcBlockWithPmtHeight;
private RskAddress rskReceiver;
private BridgeSupport bridgeSupport;
private BridgeEventLoggerImpl bridgeEventLogger;
private ArrayList<LogInfo> logs;


Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit c3770fe

Please sign in to comment.