aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-02-22 08:53:25 +0800
committerobscuren <geffobscura@gmail.com>2014-02-22 08:53:25 +0800
commit73b9ae95797ce8c38d82cfcb7c793efea268f476 (patch)
tree05c54709bc0cae394de239564a3746bac6d0b731 /ethchain
parent4bfd717ba2b753f183e9e3fecd91d7e4083aaffc (diff)
downloaddexon-73b9ae95797ce8c38d82cfcb7c793efea268f476.tar.gz
dexon-73b9ae95797ce8c38d82cfcb7c793efea268f476.tar.zst
dexon-73b9ae95797ce8c38d82cfcb7c793efea268f476.zip
Updated some of the log statements to use the ethutil logger
Diffstat (limited to 'ethchain')
-rw-r--r--ethchain/block_chain.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/ethchain/block_chain.go b/ethchain/block_chain.go
index 21f540b96..96d22366d 100644
--- a/ethchain/block_chain.go
+++ b/ethchain/block_chain.go
@@ -2,7 +2,6 @@ package ethchain
import (
"bytes"
- "fmt"
"github.com/ethereum/eth-go/ethutil"
"log"
"math"
@@ -119,7 +118,6 @@ func (bc *BlockChain) GetChain(hash []byte, amount int) []*Block {
var blocks []*Block
for i := 0; i < amount && block != nil; block = bc.GetBlock(block.PrevHash) {
- fmt.Println(block)
blocks = append([]*Block{block}, blocks...)
if bytes.Compare(genHash, block.Hash()) == 0 {