Skip to content

Commit

Permalink
OpReturnSpec.groovy: use non-deprecated addSignedInput
Browse files Browse the repository at this point in the history
  • Loading branch information
msgilligan committed Dec 20, 2023
1 parent 19a997d commit 81b6c4a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class OpReturnSpec extends BaseTransactionSpec {
.data(testData)
.build()
tx.addOutput(utxo_amount, script)
tx.addSignedInput(outPoint, ScriptBuilder.createOutputScript(fromAddr), fromKey)
tx.addSignedInput(outPoint, ScriptBuilder.createOutputScript(fromAddr), utxo_amount, fromKey)


and: "We serialize the transaction"
Expand Down

0 comments on commit 81b6c4a

Please sign in to comment.