Skip to content

Conversation

@guggero
Copy link
Collaborator

@guggero guggero commented Jun 25, 2024

Fixes #2199.

Previous to this fix the keytype was only interpreted as a single byte, even though BIP-0174 states it is to be parsed as a CompactSize/VarInt.

@coveralls
Copy link

coveralls commented Jun 25, 2024

Pull Request Test Coverage Report for Build 9661948822

Details

  • 11 of 14 (78.57%) changed or added relevant lines in 1 file are covered.
  • 4 unchanged lines in 3 files lost coverage.
  • Overall coverage decreased (-0.001%) to 57.246%

Changes Missing Coverage Covered Lines Changed/Added Lines %
btcutil/psbt/utils.go 11 14 78.57%
Files with Coverage Reduction New Missed Lines %
btcutil/psbt/utils.go 1 82.99%
mempool/mempool.go 1 66.67%
connmgr/connmanager.go 2 86.62%
Totals Coverage Status
Change from base Build 9610935276: -0.001%
Covered Lines: 29804
Relevant Lines: 52063

💛 - Coveralls

Fixes btcsuite#2199.

Previous to this fix the keytype was only interpreted as a single byte,
even though BIP-0174 states it is to be parsed as a CompactSize/VarInt.
@guggero guggero force-pushed the psbt-serialization-fix branch from 0cbdbf4 to 4bff778 Compare June 25, 2024 14:03
@coveralls
Copy link

coveralls commented Jun 25, 2024

Pull Request Test Coverage Report for Build 9663927080

Details

  • 11 of 14 (78.57%) changed or added relevant lines in 1 file are covered.
  • 14 unchanged lines in 4 files lost coverage.
  • Overall coverage decreased (-0.02%) to 57.225%

Changes Missing Coverage Covered Lines Changed/Added Lines %
btcutil/psbt/utils.go 11 14 78.57%
Files with Coverage Reduction New Missed Lines %
btcutil/psbt/utils.go 1 82.99%
mempool/mempool.go 1 66.67%
connmgr/connmanager.go 3 86.27%
peer/peer.go 9 73.49%
Totals Coverage Status
Change from base Build 9610935276: -0.02%
Covered Lines: 29793
Relevant Lines: 52063

💛 - Coveralls

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 ⚱️

@guggero guggero requested a review from brunoerg June 26, 2024 07:54
Copy link
Contributor

@brunoerg brunoerg left a comment

Choose a reason for hiding this comment

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

ACK 4bff778

@guggero guggero merged commit b2eec96 into btcsuite:master Jun 26, 2024
@guggero guggero deleted the psbt-serialization-fix branch June 26, 2024 09:22
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.

Issue/Bug with PSBT deserialization

4 participants