Skip to content

Commit

Permalink
chore(ARCO-199): ignore a gosec warning intentionally
Browse files Browse the repository at this point in the history
  • Loading branch information
kuba-4chain committed Nov 8, 2024
1 parent 1e9b4f3 commit cad63a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/blocktx/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ func (p *Processor) storeTransactions(ctx context.Context, blockID uint64, block
break
}

bump, err := bc.NewBUMPFromMerkleTreeAndIndex(block.Height, merkleTree, uint64(txIndex)) // NOSONAR
bump, err := bc.NewBUMPFromMerkleTreeAndIndex(block.Height, merkleTree, uint64(txIndex)) // #nosec G115
if err != nil {
return errors.Join(ErrFailedToCreateBUMP, fmt.Errorf("tx hash %s, block height: %d", hash.String(), block.Height), err)
}
Expand Down

0 comments on commit cad63a9

Please sign in to comment.