Skip to content

Commit f52e047

Browse files
committed
clarify that SIMPLE format requires version/locktime/sequence=0 for to_sign transaction
1 parent aa92d9c commit f52e047

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bip-0322.mediawiki

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ where <code>message_hash</code> is a BIP340-tagged hash of the message, i.e. sha
6565

6666
The <code>to_sign</code> transaction is:
6767

68-
nVersion = 0 or as appropriate (e.g. 2, for time locks)
69-
nLockTime = 0 or as appropriate (for time locks)
68+
nVersion = 0 or (FULL format only) as appropriate (e.g. 2, for time locks)
69+
nLockTime = 0 or (FULL format only) as appropriate (for time locks)
7070
vin[0].prevout.hash = to_spend.txid
7171
vin[0].prevout.n = 0
72-
vin[0].nSequence = 0 or as appropriate (for time locks)
72+
vin[0].nSequence = 0 or (FULL format only) as appropriate (for time locks)
7373
vin[0].scriptWitness = message_signature
7474
vout[0].nValue = 0
7575
vout[0].scriptPubKey = OP_RETURN

0 commit comments

Comments
 (0)