Skip to content

Commit

Permalink
channeldb: add a new ChainHash field to ChannelCloseSummary
Browse files Browse the repository at this point in the history
  • Loading branch information
Roasbeef committed Nov 11, 2017
1 parent da22078 commit 3cf4ac8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions channeldb/channel.go
Original file line number Diff line number Diff line change
Expand Up @@ -1167,6 +1167,10 @@ type ChannelCloseSummary struct {
// and is used as a unique identifier for the channel.
ChanPoint wire.OutPoint

// ChainHash is the hash of the genesis block that this channel resides
// within.
ChainHash chainhash.Hash

// ClosingTXID is the txid of the transaction which ultimately closed
// this channel.
ClosingTXID chainhash.Hash
Expand Down

0 comments on commit 3cf4ac8

Please sign in to comment.