swarm/storage: pyramid chunker re-write (#14382)
This commit is contained in:
		
				
					committed by
					
						 Felix Lange
						Felix Lange
					
				
			
			
				
	
			
			
			
						parent
						
							3c8656347f
						
					
				
				
					commit
					d558a595ad
				
			| @@ -76,7 +76,7 @@ func testStore(m ChunkStore, l int64, branches int64, t *testing.T) { | ||||
| 	}() | ||||
| 	chunker := NewTreeChunker(&ChunkerParams{ | ||||
| 		Branches: branches, | ||||
| 		Hash:     defaultHash, | ||||
| 		Hash:     SHA3Hash, | ||||
| 	}) | ||||
| 	swg := &sync.WaitGroup{} | ||||
| 	key, _ := chunker.Split(rand.Reader, l, chunkC, swg, nil) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user