aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-01-11 05:44:53 +0800
committerobscuren <geffobscura@gmail.com>2014-01-11 05:44:53 +0800
commit8bbf879cb31e9cb28700773ed788421f9935ac36 (patch)
treeea2ab662a0577aa6238b084eda7ec9644ee35995 /ethereum.go
parentf6fa4f88797030b8e83066cb262a68958953974e (diff)
downloadgo-tangerine-8bbf879cb31e9cb28700773ed788421f9935ac36.tar.gz
go-tangerine-8bbf879cb31e9cb28700773ed788421f9935ac36.tar.zst
go-tangerine-8bbf879cb31e9cb28700773ed788421f9935ac36.zip
Moving the ethgo to individual packages
Diffstat (limited to 'ethereum.go')
-rw-r--r--ethereum.go6
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()))
}
}()