Skip to content

Commit

Permalink
Require at least one coin input. (#258)
Browse files Browse the repository at this point in the history
* Require at least one coin input.

* Clean up.
  • Loading branch information
adlerjohn authored Jan 4, 2022
1 parent e2b01a5 commit c26363c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions specs/protocol/tx_format.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ Transaction is invalid if:
- `inputsCount > MAX_INPUTS`
- `outputsCount > MAX_OUTPUTS`
- `witnessesCount > MAX_WITNESSES`
- No inputs are of type `InputType.Coin`
- More than one output is of type `OutputType.Change` for any color in the input set
- Any output is of type `OutputType.Change` for any color not in the input set

Expand Down

0 comments on commit c26363c

Please # to comment.