mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Merge 80bdd4b6be into merged_master (Bitcoin PR bitcoin/bitcoin#30167
This commit is contained in:
commit
8efe038202
10 changed files with 34 additions and 15 deletions
|
|
@ -6419,8 +6419,8 @@ bool ChainstateManager::PopulateAndValidateSnapshot(
|
|||
|
||||
bool out_of_coins{false};
|
||||
try {
|
||||
Txid txid;
|
||||
coins_file >> txid;
|
||||
std::byte left_over_byte;
|
||||
coins_file >> left_over_byte;
|
||||
} catch (const std::ios_base::failure&) {
|
||||
// We expect an exception since we should be out of coins.
|
||||
out_of_coins = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue