Properly encode tx

This commit is contained in:
obscuren 2014-02-03 01:12:44 +01:00
parent 6292c5ad5a
commit f995f5763b
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ out:
// in the TxPool where it will undergo validation and
// processing when a new block is found
for i := 0; i < msg.Data.Length(); i++ {
p.ethereum.TxPool.QueueTransaction(ethchain.NewTransactionFromData(ethutil.Encode(msg.Data.Get(i).AsRaw())))
p.ethereum.TxPool.QueueTransaction(ethchain.NewTransactionFromData(msg.Data.Get(i).Encode()))
}
case ethwire.MsgGetPeersTy:
// Flag this peer as a 'requested of new peers' this to