Remove check to see if seed exists when loading a wallet, the key manager can initiate the seed if it dne (#5094)

This commit is contained in:
Chris Stewart 2023-06-06 11:55:57 -05:00 committed by GitHub
parent 514cb54f69
commit 4fd7af04ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()