Skip to content

Commit

Permalink
Update test in BitcoinUtilsTest to be deterministic
Browse files Browse the repository at this point in the history
  • Loading branch information
marcos-iov committed Oct 8, 2024
1 parent 4084daf commit 77131aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ void removeSignaturesFromTransaction_whenNotAllTransactionInputsHaveP2shMultiSig
// arrange
Federation federation = P2shErpFederationBuilder.builder().build();
Script p2shMultiSigScriptSig = federation.getP2SHScript().createEmptyInputScript(null, federation.getRedeemScript());
BtcECKey pubKey = new BtcECKey();
BtcECKey pubKey = BitcoinTestUtils.getBtcEcKeyFromSeed("abc");
Script p2pkhScriptSig = ScriptBuilder.createInputScript(null, pubKey);

BtcTransaction transaction = new BtcTransaction(btcMainnetParams);
Expand Down

0 comments on commit 77131aa

Please sign in to comment.