From 4fd7af04ca374cb6d0ff32e08527e0e13c074d5e Mon Sep 17 00:00:00 2001 From: Chris Stewart Date: Tue, 6 Jun 2023 11:55:57 -0500 Subject: [PATCH] Remove check to see if seed exists when loading a wallet, the key manager can initiate the seed if it dne (#5094) --- .../src/main/scala/org/bitcoins/server/DLCWalletLoaderApi.scala | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/server/src/main/scala/org/bitcoins/server/DLCWalletLoaderApi.scala b/app/server/src/main/scala/org/bitcoins/server/DLCWalletLoaderApi.scala index 64aadbad1e..035fb50d42 100644 --- a/app/server/src/main/scala/org/bitcoins/server/DLCWalletLoaderApi.scala +++ b/app/server/src/main/scala/org/bitcoins/server/DLCWalletLoaderApi.scala @@ -95,8 +95,6 @@ sealed trait DLCWalletLoaderApi extends Logging with StartStopAsync[Unit] { (for { kmConfig <- kmConfigF - _ = if (!kmConfig.seedExists()) - throw new RuntimeException(s"Wallet `${walletName}` does not exist") // First thing start the key manager to be able to fail fast if the password is invalid _ <- kmConfig.start()