mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 22:25:24 +01:00
The new table format for the pay command started to use the `Millisecond()` method on `time.Duration`. However, this method was only added in Go 1.13, so this breaks the build for Go 1.12. We replace this by manual division. `time.Duration` "natively" is in nanoseconds, so we covert to milli seconds by dividing my `time.Millisecond`, which is 1,000,000. |
||
---|---|---|
.. | ||
lncli | ||
lnd |