mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 06:21:44 +01:00
Remove useless code
This commit is contained in:
parent
663b5beac1
commit
a7edbfe5e9
1 changed files with 1 additions and 4 deletions
|
@ -134,10 +134,7 @@ namespace BTCPayServer.Services
|
|||
KeyPath = i.First().KeyPath,
|
||||
PubKey = i.First().PubKey
|
||||
}).ToArray();
|
||||
var signedTransaction = await Ledger.SignTransactionAsync(signatureRequests, unsigned, changeKeyPath, cancellationToken);
|
||||
if (signedTransaction == null)
|
||||
throw new HardwareWalletException("The ledger failed to sign the transaction");
|
||||
|
||||
await Ledger.SignTransactionAsync(signatureRequests, unsigned, changeKeyPath, cancellationToken);
|
||||
psbt = psbt.Clone();
|
||||
foreach (var signature in signatureRequests)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue