Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>
This commit is contained in:
Sina M 2025-01-09 18:07:03 +01:00 committed by GitHub
parent a7cf628889
commit 42d036ff95
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -275,7 +275,7 @@ func ExecutableDataToBlockNoHash(data ExecutableData, versionedHashes []common.H
if req[0] < last { if req[0] < last {
return nil, fmt.Errorf("invalid request order: %v", req) return nil, fmt.Errorf("invalid request order: %v", req)
} }
last = req[0]
} }
h := types.CalcRequestsHash(requests) h := types.CalcRequestsHash(requests)
requestsHash = &h requestsHash = &h