chore: fix typo

Signed-off-by: deterclosed <fliter@outlook.com>
This commit is contained in:
deterclosed 2024-03-23 13:08:19 +08:00
parent 064f37d6f6
commit 8ae385c301

View file

@ -390,7 +390,7 @@ func testTransactionPropagation(t *testing.T, protocol uint) {
} }
// Interconnect all the sink handlers with the source handler // Interconnect all the sink handlers with the source handler
for i, sink := range sinks { for i, sink := range sinks {
sink := sink // Closure for gorotuine below sink := sink // Closure for goroutine below
sourcePipe, sinkPipe := p2p.MsgPipe() sourcePipe, sinkPipe := p2p.MsgPipe()
defer sourcePipe.Close() defer sourcePipe.Close()