Skip to content

Commit

Permalink
fix: declaration of utxo
Browse files Browse the repository at this point in the history
  • Loading branch information
julianlen committed Dec 12, 2024
1 parent a1d3e08 commit cfa3e01
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<UTXO> expectedFederationUtxos = Collections.singletonList(utxo);
List<UTXO> 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);
Expand Down

0 comments on commit cfa3e01

Please sign in to comment.