Format
This commit is contained in:
		@@ -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
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user