Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
JkLondon committed Dec 1, 2024
1 parent 6afd19c commit f62fb7e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion erigon-lib/state/domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -1626,7 +1626,6 @@ func (dt *DomainRoTx) GetAsOfFile(key []byte, txNum uint64) ([]byte, bool, error
// historical value based only on static files, roTx will not be used.
func (dt *DomainRoTx) GetAsOf(key []byte, txNum uint64, roTx kv.Tx) ([]byte, bool, error) {
v, hOk, err := dt.ht.HistorySeek(key, txNum, roTx)
println(fmt.Sprintf("history seek %+v", v), hOk, err)
if err != nil {
return nil, false, err
}
Expand Down
1 change: 1 addition & 0 deletions erigon-lib/state/history.go
Original file line number Diff line number Diff line change
Expand Up @@ -1152,6 +1152,7 @@ func (ht *HistoryRoTx) historySeekInFiles(key []byte, txNum uint64) ([]byte, boo
// Files list of II and History is different
// it means II can't return index of file, but can return TxNum which History will use to find own file
ok, histTxNum, err := ht.iit.seekInFiles(key, txNum)
println(fmt.Sprintf("history seek %d", histTxNum), ok, err)
if err != nil {
return nil, false, err
}
Expand Down

0 comments on commit f62fb7e

Please sign in to comment.