mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-07 03:06:01 +02:00
htlcswitch: remove unnecessary prand.Seed
This commit is contained in:
@@ -36,10 +36,6 @@ import (
|
|||||||
"github.com/lightningnetwork/lnd/tlv"
|
"github.com/lightningnetwork/lnd/tlv"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
|
||||||
prand.Seed(time.Now().UnixNano())
|
|
||||||
}
|
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// DefaultMaxOutgoingCltvExpiry is the maximum outgoing time lock that
|
// DefaultMaxOutgoingCltvExpiry is the maximum outgoing time lock that
|
||||||
// the node accepts for forwarded payments. The value is relative to the
|
// the node accepts for forwarded payments. The value is relative to the
|
||||||
|
Reference in New Issue
Block a user