File tree Expand file tree Collapse file tree
include/bitcoin/node/impl/chasers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ void CLASS::do_organize(typename Block::cptr block,
183183 {
184184 handler (system::error::checkpoint_conflict, height);
185185 return ;
186- };
186+ }
187187
188188 // Blocks of headers are validated later, malleations ignored until then.
189189 // Blocks are fully validated (not confirmed), so malleation is non-issue.
@@ -517,7 +517,7 @@ code CLASS::push_block(const Block& block,
517517 // events::header_archived | events::block_archived
518518 fire (events_object_archived (), ctx.height );
519519 LOGV (" Header archived: " << ctx.height );
520- return set_organized (link, ctx.height ) ? ec : error::organize14;
520+ return set_organized (link, ctx.height ) ? error::success : error::organize14;
521521}
522522
523523TEMPLATE
Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ code chaser_header::duplicate(size_t& height,
8282 return ec;
8383 }
8484
85+ // height set to max_size_t unless unconfirmable.
8586 return error::duplicate_header;
8687 }
8788
You can’t perform that action at this time.
0 commit comments