diff options
author | obscuren <geffobscura@gmail.com> | 2014-02-24 20:51:16 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-02-24 20:51:16 +0800 |
commit | fe9eb472887baec464cc50657affd85b13bcbeba (patch) | |
tree | 07ac439393d244a45470ba86792ae9c159d9e11a /ethereum.go | |
parent | 0656f465b0c0690f237e42ac1e8f306dcda6c40b (diff) | |
download | dexon-fe9eb472887baec464cc50657affd85b13bcbeba.tar dexon-fe9eb472887baec464cc50657affd85b13bcbeba.tar.gz dexon-fe9eb472887baec464cc50657affd85b13bcbeba.tar.bz2 dexon-fe9eb472887baec464cc50657affd85b13bcbeba.tar.lz dexon-fe9eb472887baec464cc50657affd85b13bcbeba.tar.xz dexon-fe9eb472887baec464cc50657affd85b13bcbeba.tar.zst dexon-fe9eb472887baec464cc50657affd85b13bcbeba.zip |
Minor fixes that to reflect changes in library
Diffstat (limited to 'ethereum.go')
-rw-r--r-- | ethereum.go | 2 |
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) |