mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-06 02:58:03 +02:00
Merge branch 'v0.10.1-beta-4253' into v0.10.1-beta-rc1-branch
This commit is contained in:
commit
935c2f2c10
@ -605,8 +605,8 @@ func formatPayment(payment *lnrpc.Payment, aliases *aliasCache) string {
|
||||
return "-"
|
||||
}
|
||||
resolveTime := time.Unix(0, timeNs)
|
||||
resolveTimeMs := resolveTime.Sub(createTime).
|
||||
Milliseconds()
|
||||
resolveTimeDiff := resolveTime.Sub(createTime)
|
||||
resolveTimeMs := resolveTimeDiff / time.Millisecond
|
||||
return fmt.Sprintf(
|
||||
"%.3f", float64(resolveTimeMs)/1000.0,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user