Skip to content

Commit dcc6a6a

Browse files
authored
Merge pull request bitcoin#1005 from kallewoof/202010-signet-sigscript
bip-325: correct placement of challenge
2 parents ebeb28e + bb989a6 commit dcc6a6a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bip-0325.mediawiki

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,10 @@ The "to_sign" transaction is:
6161
vin[0].prevout.hash = to_spend.txid
6262
vin[0].prevout.n = 0
6363
vin[0].nSequence = 0
64+
vin[0].sigScript = [ signet_solution sigScript (x bytes), if any ]
65+
vin[0].scriptWitness = [ signet_solution scriptWitness (y bytes), if any ]
6466
vout[0].nValue = 0
65-
vout[0].scriptPubKey = signet_challenge
67+
vout[0].scriptPubKey = OP_RETURN
6668
6769
The scriptSig and/or scriptWitness for <code>vin[0]</code> are filled in from the Signet header push above.
6870

0 commit comments

Comments
 (0)