mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-09 21:43:17 +02:00
lnwallet/sigpool: exit SubmitSignBatch on quit
This commit is contained in:
@@ -259,6 +259,8 @@ func (s *sigPool) SubmitSignBatch(signJobs []signJob) {
|
||||
case s.signJobs <- job:
|
||||
case <-job.cancel:
|
||||
// TODO(roasbeef): return error?
|
||||
case <-s.quit:
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user