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

rpctest: add witness commitment when calling CreateBlock #1716

Merged
merged 2 commits into from
Apr 29, 2021

Conversation

halseth
Copy link
Collaborator

@halseth halseth commented Apr 26, 2021

If we tried to include transactions having witnesses, the block would be
invalid since the witness commitment was not added.

If we tried to include transactions having witnesses, the block would be
invalid since the witness commitment was not added.
Copy link
Member

@Roasbeef Roasbeef left a comment

Choose a reason for hiding this comment

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

LGTM 🍙

@coveralls
Copy link

Pull Request Test Coverage Report for Build 785452938

  • 4 of 48 (8.33%) changed or added relevant lines in 2 files are covered.
  • 21 unchanged lines in 4 files lost coverage.
  • Overall coverage decreased (-0.04%) to 52.817%

Changes Missing Coverage Covered Lines Changed/Added Lines %
integration/rpctest/blockgen.go 4 8 50.0%
mining/mining.go 0 40 0.0%
Files with Coverage Reduction New Missed Lines %
integration/rpctest/blockgen.go 2 83.67%
btcec/signature.go 3 92.76%
database/ffldb/blockio.go 4 92.62%
peer/peer.go 12 75.47%
Totals Coverage Status
Change from base Build 745866572: -0.04%
Covered Lines: 20918
Relevant Lines: 39605

💛 - Coveralls

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.

3 participants