aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ethchain/block.go2
-rw-r--r--ethchain/dagger.go1
2 files changed, 2 insertions, 1 deletions
diff --git a/ethchain/block.go b/ethchain/block.go
index fee4a2d59..1be8282fa 100644
--- a/ethchain/block.go
+++ b/ethchain/block.go
@@ -166,7 +166,7 @@ func (block *Block) CalcGasLimit(parent *Block) *big.Int {
result := new(big.Int).Add(previous, curInt)
result.Div(result, big.NewInt(1024))
- min := ethutil.BigPow(10, 4)
+ min := big.NewInt(125000)
return ethutil.BigMax(min, result)
/*
diff --git a/ethchain/dagger.go b/ethchain/dagger.go
index 08c4826db..b586657b9 100644
--- a/ethchain/dagger.go
+++ b/ethchain/dagger.go
@@ -31,6 +31,7 @@ func (pow *EasyPow) Search(block *Block, reactChan chan ethutil.React) []byte {
for {
select {
case <-reactChan:
+ powlogger.Infoln("Breaking from mining")
return nil
default:
i++