Skip to content

Commit 412a41e

Browse files
committed
Comments.
1 parent 838338f commit 412a41e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/protocols/protocol_block_in_31800.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,8 +355,7 @@ bool protocol_block_in_31800::handle_receive_block(const code& ec,
355355
// consequence of the custom memory allocator. Therefore, while shared_ptr
356356
// to an element of the block would normally be valid after ~block(), the
357357
// object pointed to will have been deallocated by ~block(). Therefore a
358-
// reference to `block` must be passed to set_code (i.e. not a copy of or
359-
// reference to `lock->transactions_ptr()`.
358+
// reference to `block` must be passed to set_code.
360359

361360
// This invokes set_strong when checked.
362361
const auto bytes = block->serialized_size(true);

0 commit comments

Comments
 (0)