diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-01 03:52:57 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-01 03:52:57 +0800 |
commit | 73c52d1677ba526385f1b223ef48f3a26091fe00 (patch) | |
tree | b7414552192d8e7520a2df8353677a5f19231866 /core | |
parent | ae45a39dc1cddac885090872cefc6799b4a4c1d9 (diff) | |
parent | c18ea4de147cb81bf5563a5727172d4103658b92 (diff) | |
download | go-tangerine-73c52d1677ba526385f1b223ef48f3a26091fe00.tar.gz go-tangerine-73c52d1677ba526385f1b223ef48f3a26091fe00.tar.zst go-tangerine-73c52d1677ba526385f1b223ef48f3a26091fe00.zip |
Merge branch 'ethersphere-blockpool2' into poc-9
Diffstat (limited to 'core')
-rw-r--r-- | core/block_processor.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/block_processor.go b/core/block_processor.go index 7eaeb5be0..5e943bda5 100644 --- a/core/block_processor.go +++ b/core/block_processor.go @@ -205,6 +205,8 @@ func (sm *BlockProcessor) processWithParent(block, parent *types.Block) (td *big receiptSha := types.DeriveSha(receipts) if bytes.Compare(receiptSha, header.ReceiptHash) != 0 { fmt.Println("receipts", receipts) + state.Sync() + chainlogger.Infof("%s\n", state.Dump()) err = fmt.Errorf("validating receipt root. received=%x got=%x", header.ReceiptHash, receiptSha) return } |