Skip to content

Commit

Permalink
Use nonStandardErpRedeemScript instead of erpRedeemScript
Browse files Browse the repository at this point in the history
  • Loading branch information
wilmerrootstock committed Sep 17, 2024
1 parent 0ee2d22 commit 271b616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rskj-core/src/test/java/co/rsk/peg/PegUtilsLegacyTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ void testIsValidPegInTx_hasChangeUtxoFromErpFederation_afterRskip201_notPegin()
tx.addOutput(Coin.COIN, activeFederation.getAddress());
tx.addInput(Sha256Hash.ZERO_HASH, 0, nonStandardErpRedeemScript);

Script flyoverInputScriptSig = ScriptBuilder.createP2SHMultiSigInputScript(null, erpRedeemScript);
Script flyoverInputScriptSig = ScriptBuilder.createP2SHMultiSigInputScript(null, nonStandardErpRedeemScript);
tx.addInput(Sha256Hash.ZERO_HASH, 0, flyoverInputScriptSig);

Wallet federationWallet = new BridgeBtcWallet(btcContext, Collections.singletonList(activeFederation));
Expand Down

0 comments on commit 271b616

Please sign in to comment.