Clarify what the number of inputs field is actually

This commit is contained in:
Andrew Chow committed 2018-01-04 13:23:15 -05:00
1 parent 2166b78bbf
commit 53891fc7ed
1 file changed
+3 -3
+3 -3
View File
@@ -185,9 +185,9 @@ Value:
</pre>
|-
| <tt>0x04</tt>
| Number of inputs
| Number of inputs provided in the PSBT
| None. The key must only contain the 1 byte type.
| A compact size unsigned integer representing the number of inputs that this transaction has
| A compact size unsigned integer representing the number of inputs that this PSBT has
| Key:
<pre>
{0x04}
@@ -265,7 +265,7 @@ Value:
| <tt>0x04</tt>
| Input index
| None. The key must only contain the 1 byte type.
| A compact size unsigned integer representing the index of this input. This field
| A compact size unsigned integer representing the 0-based index of this input. This field
is optional to allow for completed inputs to be skipped without needing a separator byte.
If one input has this type, then all inputs must have it.
| Key: