From cfa3e01f6ed070509c61f08dc7ff66e529bb9207 Mon Sep 17 00:00:00 2001 From: Julian Len Date: Thu, 12 Dec 2024 17:19:20 -0300 Subject: [PATCH] fix: declaration of utxo --- .../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 ad3ef4c8a8..78692021b9 100644 --- a/rskj-core/src/test/java/co/rsk/peg/RegisterBtcTransactionIT.java +++ b/rskj-core/src/test/java/co/rsk/peg/RegisterBtcTransactionIT.java @@ -50,8 +50,7 @@ void whenRegisterALegacyBtcTransaction_shouldRegisterTheNewUtxoAndTransferTheRbt Coin btcTransferred = Coin.COIN; BtcTransaction bitcoinTransaction = createPegInTransaction(federationSupport.getActiveFederation().getAddress(), btcTransferred, btcPublicKey); TransactionOutput output = bitcoinTransaction.getOutput(0); - UTXO utxo = getUtxo(bitcoinTransaction, output); - List expectedFederationUtxos = Collections.singletonList(utxo); + List expectedFederationUtxos = Collections.singletonList(getUtxo(bitcoinTransaction, output)); BridgeStorageProvider bridgeStorageProvider = new BridgeStorageProvider(track, PrecompiledContracts.BRIDGE_ADDR, bridgeConstants.getBtcParams(), activations); BtcBlockStoreWithCache.Factory btcBlockStoreFactory = new RepositoryBtcBlockStoreWithCache.Factory(bridgeConstants.getBtcParams(), 100, 100);