Merge pull request #98 from rkfg/maturity_fix

Update channel maturity
pull/102/head
Édouard 2 years ago committed by GitHub
commit 9f95a56cad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -105,6 +105,7 @@ func (c *Channels) Update(newChannel *models.Channel) {
oldChannel.Private = newChannel.Private
oldChannel.PendingHTLC = newChannel.PendingHTLC
oldChannel.Age = newChannel.Age
oldChannel.BlocksTilMaturity = newChannel.BlocksTilMaturity
if newChannel.LastUpdate != nil {
oldChannel.LastUpdate = newChannel.LastUpdate

Loading…
Cancel
Save