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:
Olaoluwa Osuntokun committed 2017-06-07 16:54:49 -07:00
1 parent 424ccccc2f
commit 5adbc7fae3
1 file changed
+1 -1
+1 -1
View File
@@ -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{