remove support from old ledger websocket

This commit is contained in:
Kukks 2020-03-26 12:40:45 +01:00
parent 23b2f55b47
commit 89d9793692

View File

@ -766,13 +766,6 @@ namespace BTCPayServer.Controllers
public async Task<IActionResult> SubmitLedger([ModelBinder(typeof(WalletIdModelBinder))]
WalletId walletId, WalletSendLedgerModel model)
{
var network = NetworkProvider.GetNetwork<BTCPayNetwork>(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);
}