Skip to content

Commit 8bc9311

Browse files
committed
doc: improve list of fields covered by sighash
This will result in the rendered numbering being different from the numbering in the source code, but that's probably better than the existing situation where the "3b" item does not show up as an independent list item. There's no good way I can see to fix this because of limitations of rustfmt's list facilities. And anyway this is legacy code. So just do something that makes clippy happy.
1 parent 97b2229 commit 8bc9311

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/descriptor/csfs_cov/cov.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
//! 1. nVersion of the transaction (4-byte little endian)
2626
//! 2. hashPrevouts (32-byte hash)
2727
//! 3. hashSequence (32-byte hash)
28-
//! 3b. ELEMENTS EXTRA hashIssuances (32-byte hash)
28+
//! 3. ELEMENTS EXTRA hashIssuances (32-byte hash)
2929
//! 4. outpoint (32-byte hash + 4-byte little endian)
3030
//! 5. scriptCode of the input (serialized as scripts inside CTxOuts)
3131
//! 6. value of the output spent by this input (8-byte little endian)

src/descriptor/csfs_cov/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
//! 1. nVersion of the transaction (4-byte little endian)
2727
//! 2. hashPrevouts (32-byte hash)
2828
//! 3. hashSequence (32-byte hash)
29-
//! 3b. ELEMENTS EXTRA hashIssuances (32-byte hash)
29+
//! 3. ELEMENTS EXTRA hashIssuances (32-byte hash)
3030
//! 4. outpoint (32-byte hash + 4-byte little endian)
3131
//! 5. scriptCode of the input (serialized as scripts inside CTxOuts)
3232
//! 6. value of the output spent by this input (8-byte little endian)

0 commit comments

Comments
 (0)