Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Currently we index into the data field without first checking it is not empty. For context, the indexing is done _before_ we do segwit validity checks which check for correct data lengths. This is a real noob bug , bad Tobin - no biscuit. Add a check for the empty array before indexing into it.
- Loading branch information