mirror of
https://github.com/codex-storage/nim-codex.git
synced 2025-01-19 09:22:41 +00:00
generify sampler and builder
This commit is contained in:
parent
e23159b065
commit
134724f91a
@ -583,7 +583,7 @@ proc onProve(
|
||||
error "Unable to create slots builder", err = err.msg
|
||||
return failure(err)
|
||||
|
||||
without sampler =? DataSampler.new(slotIdx, self.blockStore, builder), err:
|
||||
without sampler =? Poseidon2Sampler.new(slotIdx, self.blockStore, builder), err:
|
||||
error "Unable to create data sampler", err = err.msg
|
||||
return failure(err)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user