We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents db307e3 + 42ad8ab commit 0772ae3Copy full SHA for 0772ae3
backend/devices/bitbox02/keystore.go
@@ -437,8 +437,10 @@ func (keystore *keystore) signBTCTransaction(btcProposedTx *btc.ProposedTransact
437
// Provide the previous transaction for each input if needed.
438
if firmware.BTCSignNeedsPrevTxs(scriptConfigs) {
439
for inputIndex, txIn := range tx.TxIn {
440
+ keystore.log.Infof("getting prevTx of input %d/%d", inputIndex+1, len(tx.TxIn))
441
prevTx, err := btcProposedTx.GetPrevTx(txIn.PreviousOutPoint.Hash)
442
if err != nil {
443
+ keystore.log.WithError(err).Errorf("getting prevTx of input failed for input %d/%d", inputIndex+1, len(tx.TxIn))
444
return err
445
}
446
inputs[inputIndex].PrevTx = firmware.NewBTCPrevTxFromBtcd(prevTx)
0 commit comments