lnd+rpc: update RPC responses to convert mSAT to SAT
This commit is contained in:
9 files changed
+146
-84
No files matched your search
@@ -1430,7 +1430,7 @@ func (p *peer) handleClosingSigned(localReq *htlcswitch.ChanClose,
|
||||
ClosingTXID: closingTxid,
|
||||
RemotePub: &chanInfo.RemoteIdentity,
|
||||
Capacity: chanInfo.Capacity,
|
||||
SettledBalance: chanInfo.LocalBalance,
|
||||
SettledBalance: chanInfo.LocalBalance.ToSatoshis(),
|
||||
CloseType: channeldb.CooperativeClose,
|
||||
IsPending: true,
|
||||
}
|
||||
@@ -1769,7 +1769,7 @@ func createGetLastUpdate(router *routing.ChannelRouter,
|
||||
Timestamp: uint32(time.Now().Unix()),
|
||||
Flags: local.Flags,
|
||||
TimeLockDelta: local.TimeLockDelta,
|
||||
HtlcMinimumMsat: uint64(local.MinHTLC),
|
||||
HtlcMinimumMsat: local.MinHTLC,
|
||||
BaseFee: uint32(local.FeeBaseMSat),
|
||||
FeeRate: uint32(local.FeeProportionalMillionths),
|
||||
}, nil
|
||||
|
||||
Reference in new issue
Block a user