channeldb: add a new ChainHash field to ChannelCloseSummary

This commit is contained in:
Olaoluwa Osuntokun committed 2017-11-10 19:50:48 -08:00
1 parent da22078995
commit 3cf4ac8237
1 file changed
+4
+4
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