@ -24,3 +24,12 @@ func Big(num string) *big.Int {
return n
}
/*
* Like big.NewInt(uint64); this takes a byte buffer instead.
*/
func BigD(data []byte) *big.Int {
n := new(big.Int)
n.SetBytes(data)