Page MenuHomePhabricator

Pass export privkey DER compression flag correctly
ClosedPublic

Authored by PiRK on Nov 10 2020, 07:33.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC4af6f8885cc2: Pass export privkey DER compression flag correctly
Summary

By passing a bitfield where a boolean was expected, the result was
always compressed. Fix this.

This is a backport of Core PR14195

Test Plan

ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

PiRK requested review of this revision.Nov 10 2020, 07:33

Looking at the discussion https://github.com/bitcoin/bitcoin/pull/10043, it seems that this does not really matter and is not used in any important piece of code. But it was still wrong and needed correction, and imho it is still a good idea to follow the upstream change.

This revision is now accepted and ready to land.Nov 10 2020, 09:28
This revision was automatically updated to reflect the committed changes.