Skip to content

Commit

Permalink
index: Read block type from block index
Browse files Browse the repository at this point in the history
  • Loading branch information
lateminer committed May 13, 2024
1 parent b3dd180 commit 534ffe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kernel/chain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ interfaces::BlockInfo MakeBlockInfo(const CBlockIndex* index, const CBlock* data
LOCK(::cs_main);
info.file_number = index->nFile;
info.data_pos = index->nDataPos;
info.is_pos = data->IsProofOfStake();
info.is_pos = index->IsProofOfStake();
}
info.data = data;
return info;
Expand Down

0 comments on commit 534ffe8

Please sign in to comment.