mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
go fmt
This commit is contained in:
parent
adf6119e88
commit
66425aa070
1 changed files with 31 additions and 30 deletions
|
|
@ -440,6 +440,7 @@ func berlinMultComplexity(x uint64) *uint256.Int {
|
||||||
z := new(uint256.Int).SetUint64(ceilDiv8)
|
z := new(uint256.Int).SetUint64(ceilDiv8)
|
||||||
return new(uint256.Int).Mul(z, z) // square without overflow
|
return new(uint256.Int).Mul(z, z) // square without overflow
|
||||||
}
|
}
|
||||||
|
|
||||||
// Slow Bigint way (benchmark this)
|
// Slow Bigint way (benchmark this)
|
||||||
// func berlinMultComplexity(xInt uint64) *big.Int {
|
// func berlinMultComplexity(xInt uint64) *big.Int {
|
||||||
// x := new(big.Int).SetUint64(xInt)
|
// x := new(big.Int).SetUint64(xInt)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue