htlcswitch: remove unnecessary prand.Seed
This commit is contained in:
1 file changed
-4
@@ -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