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 Dec 5, 2024
1 parent d76bb00 commit 2d085c8
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 @@ -735,7 +735,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 2d085c8

Please sign in to comment.