mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 22:25:28 +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,
|
KeyPath = i.First().KeyPath,
|
||||||
PubKey = i.First().PubKey
|
PubKey = i.First().PubKey
|
||||||
}).ToArray();
|
}).ToArray();
|
||||||
var signedTransaction = await Ledger.SignTransactionAsync(signatureRequests, unsigned, changeKeyPath, cancellationToken);
|
await Ledger.SignTransactionAsync(signatureRequests, unsigned, changeKeyPath, cancellationToken);
|
||||||
if (signedTransaction == null)
|
|
||||||
throw new HardwareWalletException("The ledger failed to sign the transaction");
|
|
||||||
|
|
||||||
psbt = psbt.Clone();
|
psbt = psbt.Clone();
|
||||||
foreach (var signature in signatureRequests)
|
foreach (var signature in signatureRequests)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue