Merge 08e6aaabef into merged_master (Bitcoin PR bitcoin/bitcoin#28920)

This commit is contained in:
Byron Hambly 2025-11-17 16:54:32 +02:00
commit 51196515b4
No known key found for this signature in database
GPG key ID: DE8F6EA20A661697
7 changed files with 140 additions and 10 deletions

View file

@ -715,7 +715,7 @@ void LegacyScriptPubKeyMan::UpdateTimeFirstKey(int64_t nCreateTime)
// Cannot determine birthday information, so set the wallet birthday to
// the beginning of time.
nTimeFirstKey = 1;
} else if (!nTimeFirstKey || nCreateTime < nTimeFirstKey) {
} else if (nTimeFirstKey == UNKNOWN_TIME || nCreateTime < nTimeFirstKey) {
nTimeFirstKey = nCreateTime;
}