Skip to content

Commit b08c9e0

Browse files
author
Darioush Jalali
committed
unbuffer chan
1 parent 5d76898 commit b08c9e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/txindexer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ func (indexer *txIndexer) loop(chain *BlockChain) {
127127
lastHead uint64 // The latest announced chain head (whose tx indexes are assumed created)
128128
lastTail = rawdb.ReadTxIndexTail(indexer.db) // The oldest indexed block, nil means nothing indexed
129129

130-
headCh = make(chan ChainEvent, 1)
130+
headCh = make(chan ChainEvent)
131131
sub = chain.SubscribeChainAcceptedEvent(headCh)
132132
)
133133
if sub == nil {

0 commit comments

Comments
 (0)