From 4f76e1e5c1d95523de5413adc08eca3d84f39570 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Wed, 22 Feb 2017 14:04:43 +0100 Subject: [PATCH] common: remove String2Big --- common/big.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/common/big.go b/common/big.go index 31bd589eb7..b552608bc7 100644 --- a/common/big.go +++ b/common/big.go @@ -28,9 +28,3 @@ var ( Big256 = big.NewInt(0xff) Big257 = big.NewInt(257) ) - -func String2Big(num string) *big.Int { - n := new(big.Int) - n.SetString(num, 0) - return n -}