From a3a86b4a44b7f7af160524902987fbcb7cad7497 Mon Sep 17 00:00:00 2001 From: Deirdre Connolly Date: Thu, 6 Jan 2022 13:54:49 -0500 Subject: [PATCH] Update zip-0244.rst Co-authored-by: str4d --- zip-0244.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/zip-0244.rst b/zip-0244.rst index 9c050d22..3c344edc 100644 --- a/zip-0244.rst +++ b/zip-0244.rst @@ -527,9 +527,10 @@ violated: - Using ``SIGHASH_SINGLE`` without a "corresponding output" (an output with the same index as the input being verified). -If we are producing a hash for the signature over a Sapling Spend or an Orchard -Action, ``hash_type`` is set to ``SIGHASH_ALL``, and is not encoded anywhere in -the transaction's authorizing data. +If we are producing a hash for the signature over a transparent input, the value +of ``hash_type`` is obtained from the input's ``scriptSig`` as encoded in the +transaction. If we are producing a hash for the signature over a Sapling Spend +or an Orchard Action, ``hash_type`` is set to ``SIGHASH_ALL``. S.2b: prevouts_sig_digest '''''''''''''''''''''''''