diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-07-03 22:50:30 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-07-03 22:50:30 +0800 |
commit | 1cbab291a9e05c107c8ad37b5436872651009886 (patch) | |
tree | 323eeddeb0c8ed17ba1a9ad382b47af418dd9539 /core/block_processor_test.go | |
parent | 8181929c9a17b23d8a2eab55b2e8f584fe9b6c50 (diff) | |
parent | 29e2fb38f8e80dfa077d139d8ff563169c644d74 (diff) | |
download | go-tangerine-1cbab291a9e05c107c8ad37b5436872651009886.tar go-tangerine-1cbab291a9e05c107c8ad37b5436872651009886.tar.gz go-tangerine-1cbab291a9e05c107c8ad37b5436872651009886.tar.bz2 go-tangerine-1cbab291a9e05c107c8ad37b5436872651009886.tar.lz go-tangerine-1cbab291a9e05c107c8ad37b5436872651009886.tar.xz go-tangerine-1cbab291a9e05c107c8ad37b5436872651009886.tar.zst go-tangerine-1cbab291a9e05c107c8ad37b5436872651009886.zip |
Merge pull request #1389 from obscuren/txpool-issues
core, miner: miner header validation, transaction & receipt writing
Diffstat (limited to 'core/block_processor_test.go')
-rw-r--r-- | core/block_processor_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/block_processor_test.go b/core/block_processor_test.go index dc328a3ea..99681dabf 100644 --- a/core/block_processor_test.go +++ b/core/block_processor_test.go @@ -18,7 +18,7 @@ func proc() (*BlockProcessor, *ChainManager) { var mux event.TypeMux genesis := GenesisBlock(0, db) - chainMan, err := NewChainManager(genesis, db, db, thePow(), &mux) + chainMan, err := NewChainManager(genesis, db, db, db, thePow(), &mux) if err != nil { fmt.Println(err) } @@ -64,7 +64,7 @@ func TestPutReceipt(t *testing.T) { Index: 0, }}) - putReceipts(db, hash, types.Receipts{receipt}) + PutReceipts(db, hash, types.Receipts{receipt}) receipts, err := getBlockReceipts(db, hash) if err != nil { t.Error("got err:", err) |