mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 22:25:24 +01:00
Merge pull request #6929 from morehouse/mutex_fix
funding: fix potential data race
This commit is contained in:
commit
49eeabf2a4
2 changed files with 6 additions and 0 deletions
|
@ -55,6 +55,9 @@ minimum version needed to build the project.
|
|||
* [Update Tor module](https://github.com/lightningnetwork/lnd/pull/6526) to
|
||||
allow the option to encrypt the private key on disk.
|
||||
|
||||
* [Fixed potential data race on funding manager
|
||||
restart](https://github.com/lightningnetwork/lnd/pull/6929).
|
||||
|
||||
## `lncli`
|
||||
* [Add an `insecure` flag to skip tls auth as well as a `metadata` string slice
|
||||
flag](https://github.com/lightningnetwork/lnd/pull/6818) that allows the
|
||||
|
@ -97,6 +100,7 @@ minimum version needed to build the project.
|
|||
* ErikEk
|
||||
* hieblmi
|
||||
* Jesse de Wit
|
||||
* Matt Morehouse
|
||||
* Olaoluwa Osuntokun
|
||||
* Oliver Gugger
|
||||
* Priyansh Rastogi
|
||||
|
|
|
@ -634,7 +634,9 @@ func (f *Manager) start() error {
|
|||
f.newChanBarriers[chanID] = make(chan struct{})
|
||||
f.barrierMtx.Unlock()
|
||||
|
||||
f.localDiscoveryMtx.Lock()
|
||||
f.localDiscoverySignals[chanID] = make(chan struct{})
|
||||
f.localDiscoveryMtx.Unlock()
|
||||
|
||||
// Rebroadcast the funding transaction for any pending
|
||||
// channel that we initiated. No error will be returned
|
||||
|
|
Loading…
Add table
Reference in a new issue