Updated some of the log statements to use the ethutil logger

This commit is contained in:
obscuren
2014-02-22 01:53:25 +01:00
parent 4bfd717ba2
commit 73b9ae9579
3 changed files with 22 additions and 26 deletions

View File

@@ -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 {