diff options
author | Maran <maran.hidskes@gmail.com> | 2014-03-24 22:04:29 +0800 |
---|---|---|
committer | Maran <maran.hidskes@gmail.com> | 2014-03-24 22:04:29 +0800 |
commit | 6253d109389d49e47772597de24cd11874b91338 (patch) | |
tree | bfdee01385b3cd9814f1ac31ab13df01a58c2151 /ethminer | |
parent | ec6ec62dd4f3c4132c79b33fc20467ba98c16f10 (diff) | |
download | go-tangerine-6253d109389d49e47772597de24cd11874b91338.tar go-tangerine-6253d109389d49e47772597de24cd11874b91338.tar.gz go-tangerine-6253d109389d49e47772597de24cd11874b91338.tar.bz2 go-tangerine-6253d109389d49e47772597de24cd11874b91338.tar.lz go-tangerine-6253d109389d49e47772597de24cd11874b91338.tar.xz go-tangerine-6253d109389d49e47772597de24cd11874b91338.tar.zst go-tangerine-6253d109389d49e47772597de24cd11874b91338.zip |
initial testcode for canonical chain
Diffstat (limited to 'ethminer')
-rw-r--r-- | ethminer/miner.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ethminer/miner.go b/ethminer/miner.go index cb752e3de..125eb6fb1 100644 --- a/ethminer/miner.go +++ b/ethminer/miner.go @@ -138,6 +138,7 @@ func (miner *Miner) listener() { } miner.ethereum.Broadcast(ethwire.MsgBlockTy, []interface{}{miner.block.Value().Val}) log.Printf("[MINER] 🔨 Mined block %x\n", miner.block.Hash()) + log.Println(miner.block) miner.txs = []*ethchain.Transaction{} // Move this somewhere neat miner.block = miner.ethereum.BlockChain().NewBlock(miner.coinbase, miner.txs) |