breacharbiter: convert settled balance from mSAT to SAT
This commit is contained in:
parent
8d88f98297
commit
0097cb969d
@ -518,7 +518,7 @@ func (b *breachArbiter) breachObserver(contract *lnwallet.LightningChannel,
|
|||||||
ClosingTXID: breachInfo.BreachTransaction.TxHash(),
|
ClosingTXID: breachInfo.BreachTransaction.TxHash(),
|
||||||
RemotePub: &chanInfo.RemoteIdentity,
|
RemotePub: &chanInfo.RemoteIdentity,
|
||||||
Capacity: chanInfo.Capacity,
|
Capacity: chanInfo.Capacity,
|
||||||
SettledBalance: chanInfo.LocalBalance,
|
SettledBalance: chanInfo.LocalBalance.ToSatoshis(),
|
||||||
CloseType: channeldb.BreachClose,
|
CloseType: channeldb.BreachClose,
|
||||||
IsPending: true,
|
IsPending: true,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user