aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/dagger.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-20 23:09:44 +0800
committerobscuren <geffobscura@gmail.com>2014-05-20 23:09:44 +0800
commit4b13f93a3e0f2901a8e1aa38dfef115e24c63ef0 (patch)
treed4622ae52bcc4c158aa26cf171a306979307bfc9 /ethchain/dagger.go
parent6efdd21633c1d21f36080754a89ad82c0c244128 (diff)
parentc37b3cef7dc465832761b1da6761eeaa47e368d1 (diff)
downloadgo-tangerine-4b13f93a3e0f2901a8e1aa38dfef115e24c63ef0.tar
go-tangerine-4b13f93a3e0f2901a8e1aa38dfef115e24c63ef0.tar.gz
go-tangerine-4b13f93a3e0f2901a8e1aa38dfef115e24c63ef0.tar.bz2
go-tangerine-4b13f93a3e0f2901a8e1aa38dfef115e24c63ef0.tar.lz
go-tangerine-4b13f93a3e0f2901a8e1aa38dfef115e24c63ef0.tar.xz
go-tangerine-4b13f93a3e0f2901a8e1aa38dfef115e24c63ef0.tar.zst
go-tangerine-4b13f93a3e0f2901a8e1aa38dfef115e24c63ef0.zip
Merge branch 'release/poc5-rc7'
Diffstat (limited to 'ethchain/dagger.go')
-rw-r--r--ethchain/dagger.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ethchain/dagger.go b/ethchain/dagger.go
index 9d2df4069..18e53d3a8 100644
--- a/ethchain/dagger.go
+++ b/ethchain/dagger.go
@@ -29,14 +29,14 @@ func (pow *EasyPow) Search(block *Block, reactChan chan ethutil.React) []byte {
for {
select {
case <-reactChan:
- log.Println("[POW] Received reactor event; breaking out.")
+ ethutil.Config.Log.Infoln("[POW] Received reactor event; breaking out.")
return nil
default:
i++
if i%1234567 == 0 {
elapsed := time.Now().UnixNano() - start
hashes := ((float64(1e9) / float64(elapsed)) * float64(i)) / 1000
- log.Println("[POW] Hashing @", int64(hashes), "khash")
+ ethutil.Config.Log.Infoln("[POW] Hashing @", int64(hashes), "khash")
}
sha := ethutil.Sha3Bin(big.NewInt(r.Int63()).Bytes())