use correct stores
This commit is contained in:
parent
42d4a5c234
commit
d1b2b96383
|
@ -257,8 +257,6 @@ proc new*(
|
||||||
blockDiscovery = DiscoveryEngine.new(repoStore, peerStore, network, discovery, pendingBlocks)
|
blockDiscovery = DiscoveryEngine.new(repoStore, peerStore, network, discovery, pendingBlocks)
|
||||||
engine = BlockExcEngine.new(repoStore, wallet, network, blockDiscovery, peerStore, pendingBlocks)
|
engine = BlockExcEngine.new(repoStore, wallet, network, blockDiscovery, peerStore, pendingBlocks)
|
||||||
store = NetworkStore.new(engine, repoStore)
|
store = NetworkStore.new(engine, repoStore)
|
||||||
erasure = Erasure.new(store, leoEncoderProvider, leoDecoderProvider)
|
|
||||||
|
|
||||||
prover = if config.prover:
|
prover = if config.prover:
|
||||||
if not fileAccessible($config.circomR1cs, {AccessFlags.Read}) and
|
if not fileAccessible($config.circomR1cs, {AccessFlags.Read}) and
|
||||||
endsWith($config.circomR1cs, ".r1cs"):
|
endsWith($config.circomR1cs, ".r1cs"):
|
||||||
|
@ -291,9 +289,8 @@ proc new*(
|
||||||
|
|
||||||
codexNode = CodexNodeRef.new(
|
codexNode = CodexNodeRef.new(
|
||||||
switch = switch,
|
switch = switch,
|
||||||
store = store,
|
networkStore = store,
|
||||||
engine = engine,
|
engine = engine,
|
||||||
erasure = erasure,
|
|
||||||
prover = prover,
|
prover = prover,
|
||||||
discovery = discovery)
|
discovery = discovery)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue