mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-08 10:31:50 -05:00
assumeutxo: Deserialize trailing byte instead of Txid
This commit is contained in:
parent
359967e310
commit
1f1f998455
1 changed files with 2 additions and 2 deletions
|
@ -5753,8 +5753,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
Reference in a new issue