aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-02-24 20:51:16 +0800
committerobscuren <geffobscura@gmail.com>2014-02-24 20:51:16 +0800
commitfe9eb472887baec464cc50657affd85b13bcbeba (patch)
tree07ac439393d244a45470ba86792ae9c159d9e11a /ethereum.go
parent0656f465b0c0690f237e42ac1e8f306dcda6c40b (diff)
downloaddexon-fe9eb472887baec464cc50657affd85b13bcbeba.tar.gz
dexon-fe9eb472887baec464cc50657affd85b13bcbeba.tar.zst
dexon-fe9eb472887baec464cc50657affd85b13bcbeba.zip
Minor fixes that to reflect changes in library
Diffstat (limited to 'ethereum.go')
-rw-r--r--ethereum.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/ethereum.go b/ethereum.go
index 384b22748..0b941dce3 100644
--- a/ethereum.go
+++ b/ethereum.go
@@ -5,6 +5,7 @@ import (
"github.com/ethereum/eth-go"
"github.com/ethereum/eth-go/ethchain"
"github.com/ethereum/eth-go/ethutil"
+ "github.com/ethereum/eth-go/ethwire"
"github.com/ethereum/go-ethereum/ui"
"github.com/niemeyer/qml"
"github.com/obscuren/secp256k1-go"
@@ -195,6 +196,7 @@ func main() {
// Search the nonce
block.Nonce = pow.Search(block)
+ ethereum.Broadcast(ethwire.MsgBlockTy, []interface{}{block.Value().Val})
err := ethereum.BlockManager.ProcessBlock(block)
if err != nil {
log.Println(err)