aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-21 18:39:15 +0800
committerobscuren <geffobscura@gmail.com>2014-05-21 18:39:15 +0800
commit0e9c8568fd689fdee0cce2584ad96ecce60c60d7 (patch)
treecd7851130b48054b45334fe3bb48abf6869cf31c
parent2667cb3ab69271604262e809927f7ab25dafa93e (diff)
downloadgo-tangerine-0e9c8568fd689fdee0cce2584ad96ecce60c60d7.tar
go-tangerine-0e9c8568fd689fdee0cce2584ad96ecce60c60d7.tar.gz
go-tangerine-0e9c8568fd689fdee0cce2584ad96ecce60c60d7.tar.bz2
go-tangerine-0e9c8568fd689fdee0cce2584ad96ecce60c60d7.tar.lz
go-tangerine-0e9c8568fd689fdee0cce2584ad96ecce60c60d7.tar.xz
go-tangerine-0e9c8568fd689fdee0cce2584ad96ecce60c60d7.tar.zst
go-tangerine-0e9c8568fd689fdee0cce2584ad96ecce60c60d7.zip
Re broadcast transactions
-rw-r--r--peer.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/peer.go b/peer.go
index cd3cc7635..5c46b73fb 100644
--- a/peer.go
+++ b/peer.go
@@ -381,6 +381,7 @@ func (p *Peer) HandleInbound() {
}
case ethwire.MsgTxTy:
+ fmt.Println("received tx")
// If the message was a transaction queue the transaction
// in the TxPool where it will undergo validation and
// processing when a new block is found
@@ -658,10 +659,8 @@ func (p *Peer) CatchupWithPeer(blockHash []byte) {
ethutil.Config.Log.Debugf("Requesting blockchain %x... from peer %s\n", p.ethereum.BlockChain().CurrentBlock.Hash()[:4], p.conn.RemoteAddr())
- /*
- msg = ethwire.NewMessage(ethwire.MsgGetTxsTy, []interface{}{})
- p.QueueMessage(msg)
- */
+ msg = ethwire.NewMessage(ethwire.MsgGetTxsTy, []interface{}{})
+ p.QueueMessage(msg)
}
}