From 1b6c85b0b4823ce77ca4123ca52ee7f64925e271 Mon Sep 17 00:00:00 2001 From: Karl-Johan Alm Date: Mon, 31 Jan 2022 18:52:37 +0900 Subject: bip-322: clarify how the message is serialized --- bip-0322.mediawiki | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bip-0322.mediawiki') diff --git a/bip-0322.mediawiki b/bip-0322.mediawiki index 9b5afed..ed38440 100644 --- a/bip-0322.mediawiki +++ b/bip-0322.mediawiki @@ -61,7 +61,7 @@ The to_spend transaction is: vout[0].nValue = 0 vout[0].scriptPubKey = message_challenge -where message_hash is a BIP340-tagged hash of the message, i.e. sha256_tag(m), where tag = BIP0322-signed-message, and message_challenge is the to be proven (public) key script. +where message_hash is a BIP340-tagged hash of the message, i.e. sha256_tag(m), where tag = BIP0322-signed-message and m is the message as is without length prefix or null terminator, and message_challenge is the to be proven (public) key script. The to_sign transaction is: -- cgit v1.2.3