From f52e047d09d6ddc7c2dbf6549dfdc91c09e9a026 Mon Sep 17 00:00:00 2001 From: Karl-Johan Alm Date: Wed, 2 Feb 2022 12:39:11 +0900 Subject: clarify that SIMPLE format requires version/locktime/sequence=0 for to_sign transaction --- bip-0322.mediawiki | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bip-0322.mediawiki') diff --git a/bip-0322.mediawiki b/bip-0322.mediawiki index c0978fc..3638d58 100644 --- a/bip-0322.mediawiki +++ b/bip-0322.mediawiki @@ -65,11 +65,11 @@ where message_hash is a BIP340-tagged hash of the message, i.e. sha The to_sign transaction is: - nVersion = 0 or as appropriate (e.g. 2, for time locks) - nLockTime = 0 or as appropriate (for time locks) + nVersion = 0 or (FULL format only) as appropriate (e.g. 2, for time locks) + nLockTime = 0 or (FULL format only) as appropriate (for time locks) vin[0].prevout.hash = to_spend.txid vin[0].prevout.n = 0 - vin[0].nSequence = 0 or as appropriate (for time locks) + vin[0].nSequence = 0 or (FULL format only) as appropriate (for time locks) vin[0].scriptWitness = message_signature vout[0].nValue = 0 vout[0].scriptPubKey = OP_RETURN -- cgit v1.2.3