Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wire: increase max witness items per input #1907

Merged
merged 1 commit into from
Nov 1, 2022

Conversation

ellemouton
Copy link
Contributor

No description provided.

@guggero guggero linked an issue Nov 1, 2022 that may be closed by this pull request
Copy link
Collaborator

@guggero guggero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix, LGTM 🎉

@coveralls
Copy link

Pull Request Test Coverage Report for Build 3369137304

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 20 unchanged lines in 2 files lost coverage.
  • Overall coverage increased (+1.4%) to 74.446%

Files with Coverage Reduction New Missed Lines %
txscript/taproot.go 2 95.93%
peer/peer.go 18 73.2%
Totals Coverage Status
Change from base Build 3325120972: 1.4%
Covered Lines: 12434
Relevant Lines: 16702

💛 - Coveralls

@@ -96,11 +96,13 @@ const (

// maxWitnessItemsPerInput is the maximum number of witness items to
// be read for the witness data for a single TxIn. This number is
// derived using a possble lower bound for the encoding of a witness
// derived using a possible lower bound for the encoding of a witness
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice example of the "boy/girl scout rule" :D

@guggero guggero merged commit acb7313 into btcsuite:master Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consensus conflict caused by maxWitnessItemsPerInput
7 participants