mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-29 15:11:09 +02:00
fundingManager: let CurrentNodeAnnouncement return copy instead of ref
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
c497a63f14
commit
5c89ec6288
2
lnd.go
2
lnd.go
@@ -136,7 +136,7 @@ func lndMain() error {
|
||||
pubKey, msg,
|
||||
)
|
||||
},
|
||||
CurrentNodeAnnouncement: func() (*lnwire.NodeAnnouncement, error) {
|
||||
CurrentNodeAnnouncement: func() (lnwire.NodeAnnouncement, error) {
|
||||
return server.genNodeAnnouncement(true)
|
||||
},
|
||||
SendAnnouncement: func(msg lnwire.Message) error {
|
||||
|
Reference in New Issue
Block a user