mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
channeldb: also restore channel capacity in RestoreChannelShells
This commit is contained in:
parent
7cbf0326c7
commit
13e7244d14
@ -930,6 +930,7 @@ func (d *DB) RestoreChannelShells(channelShells ...*ChannelShell) error {
|
|||||||
ChannelID: channel.ShortChannelID.ToUint64(),
|
ChannelID: channel.ShortChannelID.ToUint64(),
|
||||||
ChainHash: channel.ChainHash,
|
ChainHash: channel.ChainHash,
|
||||||
ChannelPoint: channel.FundingOutpoint,
|
ChannelPoint: channel.FundingOutpoint,
|
||||||
|
Capacity: channel.Capacity,
|
||||||
}
|
}
|
||||||
|
|
||||||
nodes := tx.Bucket(nodeBucket)
|
nodes := tx.Bucket(nodeBucket)
|
||||||
|
Loading…
Reference in New Issue
Block a user