Skip to content

Commit

Permalink
fix: merge error (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
PaddyMc authored Nov 7, 2024
1 parent 9328e86 commit 08ef650
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions state/txindex/kv/kv.go
Original file line number Diff line number Diff line change
Expand Up @@ -397,20 +397,11 @@ type TxInfo struct {

func (*TxIndex) setTmpHashes(tmpHeights map[string]TxInfo, key, value []byte, height int64) {
eventSeq := extractEventSeqFromKey(key)
<<<<<<< HEAD
txInfo := TxInfo{
TxBytes: value,
Height: height,
}
tmpHeights[string(value)+eventSeq] = txInfo
=======

// Copy the value because the iterator will be reused.
valueCopy := make([]byte, len(value))
copy(valueCopy, value)

tmpHeights[string(valueCopy)+eventSeq] = valueCopy
>>>>>>> upstream/v0.38.x
}

// match returns all matching txs by hash that meet a given condition and start
Expand Down

0 comments on commit 08ef650

Please sign in to comment.