Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Nov 12, 2024
1 parent 1241c3c commit 7845baf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions versiondb/tsrocksdb/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,7 @@ func (s Store) loadWrongData(storeName string) ([]KVPairWithTS, error) {

var pairs []KVPairWithTS
for ; iter.Valid(); iter.Next() {
ts := iter.Timestamp()
if binary.LittleEndian.Uint64(ts) != 0 {
if binary.LittleEndian.Uint64(iter.Timestamp()) != 0 {
// FIXME: https://github.com/crypto-org-chain/cronos/issues/1689
continue
}
Expand Down

0 comments on commit 7845baf

Please sign in to comment.