Skip to content

Commit ca660b5

Browse files
committed
pkg/types/llo: add tombstone to ChannelDefinition
1 parent c708eca commit ca660b5

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

pkg/types/llo/types.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,11 @@ type ChannelDefinition struct {
271271
// Source is the source of the channel definition.
272272
// It is set by the LLO channel definitions cache.
273273
// The source is the id of the role that added the channel definition (i.e. the channel adder)
274-
// 0 is always the ChannelConfigStore owner, greater values are adders.
274+
// 1 is always the ChannelConfigStore owner, greater values are adders.
275275
Source uint32 `json:"-"`
276+
// Tombstone is a boolean flag that indicates if the channel definition is owner a tombstone.
277+
// If true, the adder channel definition will be removed.
278+
Tombstone bool `json:"tombstone"`
276279
}
277280

278281
func (a ChannelDefinition) Equals(b ChannelDefinition) bool {

0 commit comments

Comments
 (0)