Skip to content

Commit

Permalink
fixing after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
sasurobert committed Aug 20, 2024
1 parent 50984af commit 7527911
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions vmhost/contexts/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,7 @@ func (context *storageContext) GetStorageFromAddress(address []byte, key []byte)
metadata := vmcommon.CodeMetadataFromBytes(userAcc.GetCodeMetadata())
if !metadata.Readable && !isReadFromUserAddress {
errGas := context.useExtraGasForKeyIfNeeded(key, false)
if errGas != nil {
return nil, 0, false, errGas
}
return nil, 0, false, errGas
}
}

Expand Down

0 comments on commit 7527911

Please sign in to comment.