From fba6848f6c4cde89cc22313f6a721fde69b03a00 Mon Sep 17 00:00:00 2001 From: Thane Thomson Date: Fri, 29 Apr 2022 17:51:01 -0400 Subject: [PATCH] Isolate TODO more clearly Signed-off-by: Thane Thomson --- internal/blocksync/pool.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/blocksync/pool.go b/internal/blocksync/pool.go index 72ce81fca..0a247a4c9 100644 --- a/internal/blocksync/pool.go +++ b/internal/blocksync/pool.go @@ -222,7 +222,8 @@ func (pool *BlockPool) PeekTwoBlocks() (first *types.Block, second *types.Block, } // PopRequest pops the first block at pool.height. -// It must have been validated by 'second'.Commit from PeekTwoBlocks(), TODO: (?) and its corresponding ExtendedCommit. +// It must have been validated by 'second'.Commit from PeekTwoBlocks() +// TODO(thane): (?) and its corresponding ExtendedCommit. func (pool *BlockPool) PopRequest() { pool.mtx.Lock() defer pool.mtx.Unlock()