Skip to content

Commit a8946cc

Browse files
authored
Merge pull request #967 from evoskuil/master
Update block setter to provide height (db change).
2 parents b2789e7 + 07e806c commit a8946cc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/chasers/chaser_validate.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ void chaser_validate::complete_block(const code& ec, const header_link& link,
326326

327327
// VALID BLOCK
328328
// Under deferral there is no state change, but downloads will stall unless
329-
// he window is closed out, so notify the check chaser of the increment.
329+
// the window is closed out, so notify the check chaser of the increment.
330330
notify(ec, chase::valid, possible_wide_cast<height_t>(height));
331331

332332
if (!defer_)

src/protocols/protocol_block_in_31800.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ bool protocol_block_in_31800::handle_receive_block(const code& ec,
326326
// Commit block.txs.
327327
// ........................................................................
328328

329-
if (const auto code = query.set_code(*block, link, checked, bypass))
329+
if (const auto code = query.set_code(*block, link, checked, bypass, height))
330330
{
331331
LOGF("Failure storing block [" << encode_hash(hash) << ":" << height
332332
<< "] from [" << opposite() << "] " << code.message());

0 commit comments

Comments
 (0)