summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl-Johan Alm <karljohan-alm@garage.co.jp>2020-10-06 06:55:06 +0900
committerKarl-Johan Alm <karljohan-alm@garage.co.jp>2020-10-06 15:34:34 +0900
commitbb989a69e087b5bb76904e7ceea9cdafbe89b55c (patch)
tree73e77f029f3bc28ddb8369ba14cf5f878acebb22
parent60bfc4bb53dbff6795f7c02a10c9e9e31907be26 (diff)
downloadbips-bb989a69e087b5bb76904e7ceea9cdafbe89b55c.tar.xz
bip-325: correct placement of challenge
-rw-r--r--bip-0325.mediawiki4
1 files changed, 3 insertions, 1 deletions
diff --git a/bip-0325.mediawiki b/bip-0325.mediawiki
index 4b45030..30a7b6e 100644
--- a/bip-0325.mediawiki
+++ b/bip-0325.mediawiki
@@ -60,8 +60,10 @@ The "to_sign" transaction is:
vin[0].prevout.hash = to_spend.txid
vin[0].prevout.n = 0
vin[0].nSequence = 0
+ vin[0].sigScript = [ signet_solution sigScript (x bytes), if any ]
+ vin[0].scriptWitness = [ signet_solution scriptWitness (y bytes), if any ]
vout[0].nValue = 0
- vout[0].scriptPubKey = signet_challenge
+ vout[0].scriptPubKey = OP_RETURN
The scriptSig and/or scriptWitness for <code>vin[0]</code> are filled in from the Signet header push above.