Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov committed Feb 14, 2023
1 parent d3d88c9 commit dbc3bb1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/state/rw_v3.go
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,9 @@ func (rs *StateV3) ReadsValid(readLists map[string]*exec22.KvList) bool {
continue
}
for i, key := range list.Keys {
if val, ok := t.Get(*(*string)(unsafe.Pointer(&key))); ok {
key := key
keyS := *(*string)(unsafe.Pointer(&key))
if val, ok := t.Get(keyS); ok {
if table == CodeSizeTable {
if binary.BigEndian.Uint64(list.Vals[i]) != uint64(len(val)) {
return false
Expand Down

0 comments on commit dbc3bb1

Please sign in to comment.