diff --git a/BTCPayServer/Controllers/WalletsController.PSBT.cs b/BTCPayServer/Controllers/WalletsController.PSBT.cs index fd0b88e6f..905a0aad8 100644 --- a/BTCPayServer/Controllers/WalletsController.PSBT.cs +++ b/BTCPayServer/Controllers/WalletsController.PSBT.cs @@ -141,7 +141,11 @@ namespace BTCPayServer.Controllers var derivationSchemeSettings = await GetDerivationSchemeSettings(walletId); if (derivationSchemeSettings == null) return NotFound(); - await FetchTransactionDetails(derivationSchemeSettings, vm, network); + try + { + await FetchTransactionDetails(derivationSchemeSettings, vm, network); + } + catch { return BadRequest(); } return View(nameof(WalletPSBTReady), vm); }