Skip to content

Commit

Permalink
5.4.4.0, 2023-04-21, leisure
Browse files Browse the repository at this point in the history
Added
none

Changed
none

Removed
none

Fixed
 - wallet, rpc: Add missing assignment of fCompressed in dumpprivkey #2680 (@jamescowens)
  • Loading branch information
jamescowens committed Apr 21, 2023
2 parents 57b2ff9 + 71684c5 commit d655ee5
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/)
and this project adheres to [Semantic Versioning](https://semver.org/).

## [5.4.4.0] 2023-04-21, leisure

### Added
none

### Changed
none

### Removed
none

### Fixed
- wallet, rpc: Add missing assignment of fCompressed in dumpprivkey #2680 (@jamescowens)

## [5.4.3.0] 2023-04-05, leisure

### Added
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ dnl require autoconf 2.60 (AS_ECHO/AS_ECHO_N)
AC_PREREQ([2.60])
define(_CLIENT_VERSION_MAJOR, 5)
define(_CLIENT_VERSION_MINOR, 4)
define(_CLIENT_VERSION_REVISION, 3)
define(_CLIENT_VERSION_REVISION, 4)
define(_CLIENT_VERSION_BUILD, 0)
define(_CLIENT_VERSION_IS_RELEASE, true)
define(_COPYRIGHT_YEAR, 2023)
Expand Down
2 changes: 1 addition & 1 deletion src/key.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ bool CKey::SignCompact(const uint256 &hash, std::vector<unsigned char>& vchSig)
bool CKey::Load(const CPrivKey &seckey, const CPubKey &vchPubKey, bool fSkipCheck=false) {
if (!ec_seckey_import_der(secp256k1_context_sign, (unsigned char*)begin(), seckey.data(), seckey.size()))
return false;
fCompressed = vchPubKey.IsCompressed();
fCompressed = seckey.size() == CKey::COMPRESSED_SIZE;
fValid = true;

if (fSkipCheck)
Expand Down
1 change: 1 addition & 0 deletions src/keystore.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class CKeyStore
CKey key;
if (!GetKey(address, key))
return false;
fCompressed = key.IsCompressed();
vchSecret.assign(key.begin(), key.end());
return true;
}
Expand Down

0 comments on commit d655ee5

Please sign in to comment.