fundingManager: let CurrentNodeAnnouncement return copy instead of ref
This commit is contained in:
1 parent
c497a63f14
commit
5c89ec6288
2 files changed
+3
-3
No files matched your search
@@ -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