Skip to content

Commit

Permalink
Fix reversed is_block().
Browse files Browse the repository at this point in the history
  • Loading branch information
evoskuil committed Mar 15, 2024
1 parent d8f677d commit dbfa7bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/bitcoin/node/chasers/chaser_organize.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class chaser_organize
static constexpr size_t fork_bits = to_bits(sizeof(system::chain::forks));
static constexpr bool is_block() NOEXCEPT
{
return is_same_type<Block, system::chain::header>;
return is_same_type<Block, system::chain::block>;
}

// Store Block into logical tree cache.
Expand Down

0 comments on commit dbfa7bf

Please sign in to comment.