aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-24 01:27:05 +0800
committerobscuren <geffobscura@gmail.com>2015-03-24 01:27:05 +0800
commitc8e9ca048327d7074cfd58137ebf89e065763b71 (patch)
tree1765a19dd55a3cb1ef43ac6f8f957dcf1b6910de /core
parent0330077d76b48934ab024a309000f83c78047d8a (diff)
downloaddexon-c8e9ca048327d7074cfd58137ebf89e065763b71.tar.gz
dexon-c8e9ca048327d7074cfd58137ebf89e065763b71.tar.zst
dexon-c8e9ca048327d7074cfd58137ebf89e065763b71.zip
fixed bad uncles
Diffstat (limited to 'core')
-rw-r--r--core/block_processor.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/block_processor.go b/core/block_processor.go
index 4bcede85e..14567732f 100644
--- a/core/block_processor.go
+++ b/core/block_processor.go
@@ -7,12 +7,12 @@ import (
"time"
"github.com/ethereum/go-ethereum/common"
+ "github.com/ethereum/go-ethereum/core/state"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/event"
"github.com/ethereum/go-ethereum/logger"
"github.com/ethereum/go-ethereum/pow"
"github.com/ethereum/go-ethereum/rlp"
- "github.com/ethereum/go-ethereum/core/state"
"gopkg.in/fatih/set.v0"
)
@@ -243,7 +243,7 @@ func (sm *BlockProcessor) processWithParent(block, parent *types.Block) (td *big
chainlogger.Infof("found possible uncle block #%d (%x...)\n", header.Number, block.Hash().Bytes()[0:4])
return td, nil, BlockEqualTSErr
} else {
- chainlogger.Infof("processed block #%d (%x...)\n", header.Number, block.Hash().Bytes()[0:4])
+ chainlogger.Infof("processed block #%d (%d TXs %d UNCs) (%x...)\n", header.Number, len(block.Transactions()), len(block.Uncles()), block.Hash().Bytes()[0:4])
}
return td, state.Logs(), nil