From 89d9793692ce16ec54aa7879731e712f97407805 Mon Sep 17 00:00:00 2001 From: Kukks Date: Thu, 26 Mar 2020 12:40:45 +0100 Subject: [PATCH] remove support from old ledger websocket --- BTCPayServer/Controllers/WalletsController.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/BTCPayServer/Controllers/WalletsController.cs b/BTCPayServer/Controllers/WalletsController.cs index 929cb8735..b266f5a45 100644 --- a/BTCPayServer/Controllers/WalletsController.cs +++ b/BTCPayServer/Controllers/WalletsController.cs @@ -766,13 +766,6 @@ namespace BTCPayServer.Controllers public async Task SubmitLedger([ModelBinder(typeof(WalletIdModelBinder))] WalletId walletId, WalletSendLedgerModel model) { - var network = NetworkProvider.GetNetwork(walletId.CryptoCode); - var newPSBT = await TryGetBPProposedTX(PSBT.Parse(model.PSBT,network.NBitcoinNetwork ), GetDerivationSchemeSettings(walletId), network); - if (newPSBT != null) - { - model.PSBT = newPSBT.ToBase64(); - return View("WalletSendLedger", model); - } return RedirectToWalletPSBTReady(model.PSBT); }