From bb989a69e087b5bb76904e7ceea9cdafbe89b55c Mon Sep 17 00:00:00 2001 From: Karl-Johan Alm Date: Tue, 6 Oct 2020 06:55:06 +0900 Subject: [PATCH] bip-325: correct placement of challenge --- bip-0325.mediawiki | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bip-0325.mediawiki b/bip-0325.mediawiki index 4b450309..30a7b6e9 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 vin[0] are filled in from the Signet header push above.