fundingManager: let CurrentNodeAnnouncement return copy instead of ref

This commit is contained in:
Johan T. Halseth
2017-08-08 14:48:12 +02:00
committed by Olaoluwa Osuntokun
parent c497a63f14
commit 5c89ec6288
2 changed files with 3 additions and 3 deletions

2
lnd.go
View File

@@ -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 {