Skip to content

Commit

Permalink
clarify that SIMPLE format requires version/locktime/sequence=0 for t…
Browse files Browse the repository at this point in the history
…o_sign transaction
  • Loading branch information
kallewoof committed Feb 3, 2022
1 parent aa92d9c commit f52e047
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bip-0322.mediawiki
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ where <code>message_hash</code> is a BIP340-tagged hash of the message, i.e. sha

The <code>to_sign</code> 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
Expand Down

0 comments on commit f52e047

Please sign in to comment.