From 13e7244d14125874bafdbc961e5ee122378a40aa Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Sun, 10 Mar 2019 16:15:07 -0700 Subject: [PATCH] channeldb: also restore channel capacity in RestoreChannelShells --- channeldb/db.go | 1 + 1 file changed, 1 insertion(+) diff --git a/channeldb/db.go b/channeldb/db.go index 4b9476c3..313ac1f0 100644 --- a/channeldb/db.go +++ b/channeldb/db.go @@ -930,6 +930,7 @@ func (d *DB) RestoreChannelShells(channelShells ...*ChannelShell) error { ChannelID: channel.ShortChannelID.ToUint64(), ChainHash: channel.ChainHash, ChannelPoint: channel.FundingOutpoint, + Capacity: channel.Capacity, } nodes := tx.Bucket(nodeBucket)