diff options
author | obscuren <geffobscura@gmail.com> | 2014-01-11 05:44:53 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-01-11 05:44:53 +0800 |
commit | 8bbf879cb31e9cb28700773ed788421f9935ac36 (patch) | |
tree | ea2ab662a0577aa6238b084eda7ec9644ee35995 /ethereum.go | |
parent | f6fa4f88797030b8e83066cb262a68958953974e (diff) | |
download | dexon-8bbf879cb31e9cb28700773ed788421f9935ac36.tar dexon-8bbf879cb31e9cb28700773ed788421f9935ac36.tar.gz dexon-8bbf879cb31e9cb28700773ed788421f9935ac36.tar.bz2 dexon-8bbf879cb31e9cb28700773ed788421f9935ac36.tar.lz dexon-8bbf879cb31e9cb28700773ed788421f9935ac36.tar.xz dexon-8bbf879cb31e9cb28700773ed788421f9935ac36.tar.zst dexon-8bbf879cb31e9cb28700773ed788421f9935ac36.zip |
Moving the ethgo to individual packages
Diffstat (limited to 'ethereum.go')
-rw-r--r-- | ethereum.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ethereum.go b/ethereum.go index aee8ebc30..96b67f970 100644 --- a/ethereum.go +++ b/ethereum.go @@ -7,7 +7,7 @@ import ( "flag" "runtime" "log" - _"math/big" + "github.com/ethereum/ethutil-go" ) const Debug = true @@ -39,7 +39,7 @@ func RegisterInterupts(s *Server) { func main() { runtime.GOMAXPROCS(runtime.NumCPU()) - InitFees() + ethutil.InitFees() Init() @@ -63,7 +63,7 @@ func main() { go func() { for { - res := dagger.Search(Big("0"), BigPow(2, 36)) + res := dagger.Search(ethutil.Big("0"), ethutil.BigPow(2, 36)) server.Broadcast("block", Encode(res.String())) } }() |