mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-24 12:37:16 +00:00
Suggesting fix for data race (#3236)
This commit is contained in:
parent
359477c7e0
commit
748abd39f6
@ -344,6 +344,6 @@ func DeriveChainId(v *uint256.Int) *uint256.Int {
|
||||
}
|
||||
return new(uint256.Int).SetUint64((v - 35) / 2)
|
||||
}
|
||||
v = new(uint256.Int).Sub(v, u256.Num35)
|
||||
return v.Div(v, u256.Num2)
|
||||
r := new(uint256.Int).Sub(v, u256.Num35)
|
||||
return r.Div(r, u256.Num2)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user