gobtckeys/helpers.go
2021-03-19 15:17:37 +07:00

19 lines
263 B
Go

package main
import (
"log"
"math/big"
)
var one = big.NewInt(1)
func makeBigInt(number string) *big.Int {
i, success := new(big.Int).SetString(number, 10)
if !success {
log.Fatal("Failed to create BigInt from string")
}
return i
}