mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-12 14:12:27 +02:00
watchtower/blob: add taproot Commitment type
This commit is contained in:
@ -102,6 +102,9 @@ func (t Type) CommitmentType(chanType *channeldb.ChannelType) (CommitmentType,
|
||||
error) {
|
||||
|
||||
switch {
|
||||
case t.Has(FlagTaprootChannel):
|
||||
return TaprootCommitment, nil
|
||||
|
||||
case t.Has(FlagAnchorChannel):
|
||||
return AnchorCommitment, nil
|
||||
|
||||
|
Reference in New Issue
Block a user