Skip to content

Commit

Permalink
Merge pull request #2796 from rsksmart/make-test-deterministic
Browse files Browse the repository at this point in the history
Update test in BitcoinUtilsTest to be deterministic
  • Loading branch information
Vovchyk authored Oct 8, 2024
2 parents 4084daf + 77131aa commit d19b637
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 d19b637

Please sign in to comment.