Skip to content

Commit 53891fc

Browse files
committed
Clarify what the number of inputs field is actually
1 parent 2166b78 commit 53891fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bip-0174.mediawiki

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,9 @@ Value:
185185
</pre>
186186
|-
187187
| <tt>0x04</tt>
188-
| Number of inputs
188+
| Number of inputs provided in the PSBT
189189
| None. The key must only contain the 1 byte type.
190-
| A compact size unsigned integer representing the number of inputs that this transaction has
190+
| A compact size unsigned integer representing the number of inputs that this PSBT has
191191
| Key:
192192
<pre>
193193
{0x04}
@@ -265,7 +265,7 @@ Value:
265265
| <tt>0x04</tt>
266266
| Input index
267267
| None. The key must only contain the 1 byte type.
268-
| A compact size unsigned integer representing the index of this input. This field
268+
| A compact size unsigned integer representing the 0-based index of this input. This field
269269
is optional to allow for completed inputs to be skipped without needing a separator byte.
270270
If one input has this type, then all inputs must have it.
271271
| Key:

0 commit comments

Comments
 (0)