mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 14:46:42 +00:00
common: remove String2Big
This commit is contained in:
parent
31ec73ad9b
commit
4f76e1e5c1
1 changed files with 0 additions and 6 deletions
|
|
@ -28,9 +28,3 @@ var (
|
||||||
Big256 = big.NewInt(0xff)
|
Big256 = big.NewInt(0xff)
|
||||||
Big257 = big.NewInt(257)
|
Big257 = big.NewInt(257)
|
||||||
)
|
)
|
||||||
|
|
||||||
func String2Big(num string) *big.Int {
|
|
||||||
n := new(big.Int)
|
|
||||||
n.SetString(num, 0)
|
|
||||||
return n
|
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue