netann/channel_update: set timestamp via modifier

This commit is contained in:
Conner Fromknecht committed 2020-03-17 16:25:22 -07:00
1 parent f6c194c3cd
commit 5147a6d63d
3 files changed
+21 -15

No files matched your search

+1 -1
View File
@@ -527,7 +527,7 @@ func (m *ChanStatusManager) signAndSendNextUpdate(outpoint wire.OutPoint,
err = SignChannelUpdate(
m.cfg.MessageSigner, m.cfg.OurPubKey, chanUpdate,
ChannelUpdateSetDisable(disabled),
ChanUpdSetDisable(disabled), ChanUpdSetTimestamp,
)
if err != nil {
return err