watchtower/wtclient: parameterize backup task with channel type

This commit is contained in:
Conner Fromknecht committed 2020-11-25 15:04:12 -08:00
1 parent 3856acce50
commit dd325f04d2
6 files changed
+46 -28

No files matched your search

+2 -1
View File
@@ -183,7 +183,8 @@ type TowerClient interface {
// abide by the negotiated policy. If the channel we're trying to back
// up doesn't have a tweak for the remote party's output, then
// isTweakless should be true.
BackupState(*lnwire.ChannelID, *lnwallet.BreachRetribution, bool) error
BackupState(*lnwire.ChannelID, *lnwallet.BreachRetribution,
channeldb.ChannelType) error
}
// InterceptableHtlcForwarder is the interface to set the interceptor