Skip to content

Commit

Permalink
fix: changed to List.of instead of Collections.singletonList
Browse files Browse the repository at this point in the history
  • Loading branch information
julianlen committed Dec 19, 2024
1 parent a80be0c commit 97d1f9b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ void registerBtcTransaction_forALegacyBtcTransaction_shouldRegisterTheNewUtxoAnd

int outputIndex = 0;
TransactionOutput output = bitcoinTransaction.getOutput(outputIndex);
List<UTXO> expectedFederationUtxos = Collections.singletonList(utxoOf(bitcoinTransaction, output));
List<UTXO> expectedFederationUtxos = List.of(utxoOf(bitcoinTransaction, output));
assertEquals(expectedFederationUtxos, federationSupport.getActiveFederationBtcUTXOs());

co.rsk.core.Coin expectedReceiverBalance = co.rsk.core.Coin.fromBitcoin(output.getValue());
Expand Down

0 comments on commit 97d1f9b

Please sign in to comment.