aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-01 03:52:57 +0800
committerobscuren <geffobscura@gmail.com>2015-03-01 03:52:57 +0800
commit73c52d1677ba526385f1b223ef48f3a26091fe00 (patch)
treeb7414552192d8e7520a2df8353677a5f19231866 /core
parentae45a39dc1cddac885090872cefc6799b4a4c1d9 (diff)
parentc18ea4de147cb81bf5563a5727172d4103658b92 (diff)
downloadgo-tangerine-73c52d1677ba526385f1b223ef48f3a26091fe00.tar
go-tangerine-73c52d1677ba526385f1b223ef48f3a26091fe00.tar.gz
go-tangerine-73c52d1677ba526385f1b223ef48f3a26091fe00.tar.bz2
go-tangerine-73c52d1677ba526385f1b223ef48f3a26091fe00.tar.lz
go-tangerine-73c52d1677ba526385f1b223ef48f3a26091fe00.tar.xz
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.go2
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
}