Skip to content

Commit

Permalink
Update store/store.go
Browse files Browse the repository at this point in the history
Co-authored-by: Rootul P <rootulp@gmail.com>
  • Loading branch information
ninabarbakadze and rootulp committed Jun 21, 2024
1 parent 84802eb commit ebaa8af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ func (bs *BlockStore) SaveSeenCommit(height int64, seenCommit *types.Commit) err
return bs.db.Set(calcSeenCommitKey(height), seenCommitBytes)
}

// SaveTxInfo indexes the txs from the block with the given response codes during execution.
// SaveTxInfo indexes the txs from the block with the given response codes from execution.
func (bs *BlockStore) SaveTxInfo(block *types.Block, txResponseCodes []uint32) error {
if len(txResponseCodes) != len(block.Txs) {
return fmt.Errorf("txResponseCodes length mismatch with block txs length")
Expand Down

0 comments on commit ebaa8af

Please sign in to comment.