Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
chore(BUX-298): remove unneeded declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
pawellewandowski98 authored and arkadiuszos4chain committed Oct 20, 2023
1 parent b6d0196 commit 321db32
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions beef_tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ func newBeefTx(ctx context.Context, version uint32, tx *Transaction) (*beefTx, e
transactions := make([]*bt.Tx, 0, len(inputs)+1)

for _, input := range inputs {
var prevTxs []*bt.Tx
prevTxs, err = getParentTransactionsForInput(ctx, tx.client, input)
prevTxs, err := getParentTransactionsForInput(ctx, tx.client, input)
if err != nil {
return nil, fmt.Errorf("retrieve input parent transaction failed: %w", err)
}
Expand Down

0 comments on commit 321db32

Please sign in to comment.