Skip to content

Commit 1f1f998

Browse files
committed
assumeutxo: Deserialize trailing byte instead of Txid
1 parent 359967e commit 1f1f998

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/validation.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5753,8 +5753,8 @@ bool ChainstateManager::PopulateAndValidateSnapshot(
57535753

57545754
bool out_of_coins{false};
57555755
try {
5756-
Txid txid;
5757-
coins_file >> txid;
5756+
std::byte left_over_byte;
5757+
coins_file >> left_over_byte;
57585758
} catch (const std::ios_base::failure&) {
57595759
// We expect an exception since we should be out of coins.
57605760
out_of_coins = true;

0 commit comments

Comments
 (0)