pull/3/merge
obscuren 11 years ago
parent e280a2a7e3
commit f78bd4d5d0
  1. 4
      block_manager.go
  2. 3
      peer.go

@ -1,9 +1,9 @@
package main
import (
"errors"
"fmt"
"github.com/ethereum/ethutil-go"
"errors"
"log"
"math/big"
)
@ -24,7 +24,6 @@ func NewBlockChain() *BlockChain {
bc.TD = new(big.Int)
bc.TD.SetBytes(ethutil.Config.Db.LastKnownTD())
// TODO get last block from the database
//bc.LastBlock = bc.genesisBlock
@ -175,7 +174,6 @@ func (bm *BlockManager) AccumelateRewards(block *ethutil.Block) error {
// TODO Reward each uncle
return nil
}

@ -1,8 +1,8 @@
package main
import (
"github.com/ethereum/ethwire-go"
"github.com/ethereum/ethutil-go"
"github.com/ethereum/ethwire-go"
"log"
"net"
)
@ -145,4 +145,3 @@ func (p *Peer) handleVersionAck(msg *ethwire.InOutMsg) {
}
}
}

Loading…
Cancel
Save