breacharbiter: convert settled balance from mSAT to SAT

This commit is contained in:
Olaoluwa Osuntokun 2017-08-21 23:13:57 -07:00
parent 8d88f98297
commit 0097cb969d
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2

@ -518,7 +518,7 @@ func (b *breachArbiter) breachObserver(contract *lnwallet.LightningChannel,
ClosingTXID: breachInfo.BreachTransaction.TxHash(),
RemotePub: &chanInfo.RemoteIdentity,
Capacity: chanInfo.Capacity,
SettledBalance: chanInfo.LocalBalance,
SettledBalance: chanInfo.LocalBalance.ToSatoshis(),
CloseType: channeldb.BreachClose,
IsPending: true,
}