Removes rebase artifact

This commit is contained in:
benbierens 2023-06-09 08:42:09 +02:00
parent cbedb2a1d8
commit 419c60ea0a
No known key found for this signature in database
GPG Key ID: FE44815D96D0A1AA
1 changed files with 0 additions and 15 deletions

View File

@ -140,21 +140,6 @@ proc stop*(s: CodexServer) {.async.} =
s.runHandle.complete()
proc new(_: type ContractInteractions, config: CodexConf): ?ContractInteractions =
if not config.persistence:
if config.ethAccount.isSome:
warn "Ethereum account was set, but persistence is not enabled"
return
without account =? config.ethAccount:
error "Persistence enabled, but no Ethereum account was set"
quit QuitFailure
if deployment =? config.ethDeployment:
ContractInteractions.new(config.ethProvider, account, deployment)
else:
ContractInteractions.new(config.ethProvider, account)
proc createDataStore(config: CodexConf): Datastore =
case config.repoKind
of repoFS: