mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-02 17:43:48 +00:00
Re broadcast transactions
This commit is contained in:
parent
2667cb3ab6
commit
0e9c8568fd
1 changed files with 3 additions and 4 deletions
7
peer.go
7
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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue