channeldb: add a new ChainHash field to ChannelCloseSummary

This commit is contained in:
Olaoluwa Osuntokun 2017-11-09 20:49:10 -08:00
parent da22078995
commit 3cf4ac8237
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21
1 changed files with 4 additions and 0 deletions

View File

@ -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