fix chunker tests - now padded by default
This commit is contained in:
parent
800d6e52fa
commit
fc909b044e
|
@ -38,7 +38,6 @@ type
|
|||
networkId*: PeerID
|
||||
blockStore*: BlockStore
|
||||
engine*: BlockExcEngine
|
||||
erasure*: Erasure
|
||||
|
||||
proc start*(node: DaggerNodeRef) {.async.} =
|
||||
await node.switch.start()
|
||||
|
|
|
@ -58,7 +58,7 @@ suite "Chunking":
|
|||
let
|
||||
(path, _, _) = instantiationInfo(-2, fullPaths = true) # get this file's name
|
||||
file = open(path)
|
||||
fileChunker = FileChunker.new(file = file, chunkSize = 256)
|
||||
fileChunker = FileChunker.new(file = file, chunkSize = 256, pad = false)
|
||||
|
||||
var data: seq[byte]
|
||||
while true:
|
||||
|
|
Loading…
Reference in New Issue