mirror of https://github.com/BTCPrivate/lnd.git
lnwallet/sigpool: exit SubmitSignBatch on quit
This commit is contained in:
parent
12d3327833
commit
9f2ec87ed6
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue