From 3cf4ac8237d66b26e52a70a653c2aeee72c2ff6e Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Thu, 9 Nov 2017 20:49:10 -0800 Subject: [PATCH] channeldb: add a new ChainHash field to ChannelCloseSummary --- channeldb/channel.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/channeldb/channel.go b/channeldb/channel.go index 744ede3e5..1ccb32a44 100644 --- a/channeldb/channel.go +++ b/channeldb/channel.go @@ -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