htlcswitch: remove unnecessary prand.Seed

This commit is contained in:
yyforyongyu
2025-07-01 20:25:38 +08:00
parent 1b6ca8827e
commit d9369ae1a8

View File

@@ -36,10 +36,6 @@ import (
"github.com/lightningnetwork/lnd/tlv"
)
func init() {
prand.Seed(time.Now().UnixNano())
}
const (
// DefaultMaxOutgoingCltvExpiry is the maximum outgoing time lock that
// the node accepts for forwarded payments. The value is relative to the