From 0097cb969d9126b6dd4155e92774c20ba32bde56 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Mon, 21 Aug 2017 23:13:57 -0700 Subject: [PATCH] breacharbiter: convert settled balance from mSAT to SAT --- breacharbiter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/breacharbiter.go b/breacharbiter.go index 908ddd91..859c56be 100644 --- a/breacharbiter.go +++ b/breacharbiter.go @@ -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, }