Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazar955 committed Dec 11, 2024
1 parent 8480283 commit 7584938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func (c SupportedBtcNetwork) String() string {
}

func GetWrappedTxs(msg *wire.MsgBlock) []*btcutil.Tx {
btcTxs := make([]*btcutil.Tx, len(msg.Transactions))
btcTxs := make([]*btcutil.Tx, 0, len(msg.Transactions))

for i := range msg.Transactions {
newTx := btcutil.NewTx(msg.Transactions[i])
Expand Down

0 comments on commit 7584938

Please sign in to comment.