Skip to content

Commit 07e806c

Browse files
committed
Update block setter to provide height (db change).
1 parent e6aec57 commit 07e806c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)