fix the peer ID count check

This commit is contained in:
whyrusleeping
2019-11-29 22:43:53 -06:00
parent 3b533ed76c
commit 81038b6a19
2 changed files with 1 additions and 4 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ func builder(t *testing.T, nFull int, storage []int) ([]test.TestNode, []test.Te
var genbuf bytes.Buffer
if len(storage) != 1 {
if len(storage) > 1 {
panic("need more peer IDs")
}
// PRESEAL SECTION, TRY TO REPLACE WITH BETTER IN THE FUTURE