mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-21 15:29:27 +00:00
Transaction processing
This commit is contained in:
parent
a9a564c226
commit
6292c5ad5a
1 changed files with 1 additions and 1 deletions
2
peer.go
2
peer.go
|
|
@ -271,7 +271,7 @@ out:
|
||||||
// in the TxPool where it will undergo validation and
|
// in the TxPool where it will undergo validation and
|
||||||
// processing when a new block is found
|
// processing when a new block is found
|
||||||
for i := 0; i < msg.Data.Length(); i++ {
|
for i := 0; i < msg.Data.Length(); i++ {
|
||||||
p.ethereum.TxPool.QueueTransaction(ethchain.NewTransactionFromRlpValue(msg.Data.Get(i)))
|
p.ethereum.TxPool.QueueTransaction(ethchain.NewTransactionFromData(ethutil.Encode(msg.Data.Get(i).AsRaw())))
|
||||||
}
|
}
|
||||||
case ethwire.MsgGetPeersTy:
|
case ethwire.MsgGetPeersTy:
|
||||||
// Flag this peer as a 'requested of new peers' this to
|
// Flag this peer as a 'requested of new peers' this to
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue