mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 09:48:19 +01:00
routing/chainview: remove possibility of deadlock in shutdown of blockEventQueue
This commit is contained in:
parent
0297042a8d
commit
d2c8f01768
2 changed files with 1 additions and 2 deletions
|
@ -72,7 +72,6 @@ func (b *blockEventQueue) Stop() {
|
||||||
close(b.quit)
|
close(b.quit)
|
||||||
|
|
||||||
b.queueCond.Signal()
|
b.queueCond.Signal()
|
||||||
b.wg.Wait()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// queueCoordinator is the queue's main loop, handling incoming block events
|
// queueCoordinator is the queue's main loop, handling incoming block events
|
||||||
|
|
|
@ -2173,7 +2173,7 @@ func (r *rpcServer) GetTransactions(ctx context.Context,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO(btcsuite): add pagination support
|
// TODO(roasbeef): add pagination support
|
||||||
transactions, err := r.server.cc.wallet.ListTransactionDetails()
|
transactions, err := r.server.cc.wallet.ListTransactionDetails()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|
Loading…
Add table
Reference in a new issue