Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions archivist/archivist.nim
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ proc new*(
store = discoveryStore,
)

wallet = WalletRef.new(EthPrivateKey.random())
network = BlockExcNetwork.new(switch)

repoData: KVStore =
Expand Down Expand Up @@ -225,7 +224,7 @@ proc new*(
blockDiscovery =
DiscoveryEngine.new(repoStore, peerStore, network, discovery, pendingBlocks)
engine = BlockExcEngine.new(
repoStore, wallet, network, blockDiscovery, advertiser, peerStore, pendingBlocks
repoStore, network, blockDiscovery, advertiser, peerStore, pendingBlocks
)
store = NetworkStore.new(engine, repoStore)
prover =
Expand Down
3 changes: 1 addition & 2 deletions archivist/blockexchange/engine.nim
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import ./engine/discovery
import ./engine/advertiser
import ./engine/engine
import ./engine/payments

export discovery, advertiser, engine, payments
export discovery, advertiser, engine
Loading
Loading