lnwire: reduce range of randomly generated features in testing.Quick case
This commit reduces the range of the number of randomly generated features in order to speed up the run time of the integration tests a bit.
This commit is contained in:
1 file changed
+1
-1
@@ -51,7 +51,7 @@ func randPubKey() (*btcec.PublicKey, error) {
|
||||
}
|
||||
|
||||
func randFeatureVector(r *rand.Rand) *FeatureVector {
|
||||
numFeatures := r.Int31n(131123)
|
||||
numFeatures := r.Int31n(10000)
|
||||
features := make([]Feature, numFeatures)
|
||||
for i := int32(0); i < numFeatures; i++ {
|
||||
features[i] = Feature{
|
||||
|
||||
Reference in new issue
Block a user