diff options
author | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-07-04 23:45:18 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-07-05 21:14:31 +0800 |
commit | bcc1660abc1c0a5ef838dea89e4f3830d84fb51c (patch) | |
tree | 67806e8069fbfc8c192daababed71f4e158176a6 /core/chain_manager.go | |
parent | 9c3db1be1dd24c366a58a7ced22adfa0b0839efe (diff) | |
download | go-tangerine-bcc1660abc1c0a5ef838dea89e4f3830d84fb51c.tar.gz go-tangerine-bcc1660abc1c0a5ef838dea89e4f3830d84fb51c.tar.zst go-tangerine-bcc1660abc1c0a5ef838dea89e4f3830d84fb51c.zip |
core, miner, tests: added test, implemented bad block reporting
Diffstat (limited to 'core/chain_manager.go')
-rw-r--r-- | core/chain_manager.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/chain_manager.go b/core/chain_manager.go index 4855162b5..682ddd2d5 100644 --- a/core/chain_manager.go +++ b/core/chain_manager.go @@ -611,6 +611,8 @@ func (self *ChainManager) InsertChain(chain types.Blocks) (int, error) { blockErr(block, err) + go ReportBlock(block, err) + return i, err } |