mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 19:00:46 +00:00
fix: don't strip prefixes on requests over t8n
This commit is contained in:
parent
ede376af8e
commit
0c2a4a1708
1 changed files with 0 additions and 4 deletions
|
|
@ -365,10 +365,6 @@ func (pre *Prestate) Apply(vmConfig vm.Config, chainConfig *params.ChainConfig,
|
||||||
// Set requestsHash on block.
|
// Set requestsHash on block.
|
||||||
h := types.CalcRequestsHash(requests)
|
h := types.CalcRequestsHash(requests)
|
||||||
execRs.RequestsHash = &h
|
execRs.RequestsHash = &h
|
||||||
for i := range requests {
|
|
||||||
// remove prefix
|
|
||||||
requests[i] = requests[i][1:]
|
|
||||||
}
|
|
||||||
execRs.Requests = requests
|
execRs.Requests = requests
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue