diff options
author | obscuren <geffobscura@gmail.com> | 2014-02-03 08:12:44 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-02-03 08:12:44 +0800 |
commit | f995f5763bf58bc2455058fe40bd15a6aa46a65f (patch) | |
tree | 7c57620e59e8ca357ddff3802f84a5fc40fd2b81 /peer.go | |
parent | 6292c5ad5a649c9c9c3dbe403c46fff960604f09 (diff) | |
download | dexon-f995f5763bf58bc2455058fe40bd15a6aa46a65f.tar.gz dexon-f995f5763bf58bc2455058fe40bd15a6aa46a65f.tar.zst dexon-f995f5763bf58bc2455058fe40bd15a6aa46a65f.zip |
Properly encode tx
Diffstat (limited to 'peer.go')
-rw-r--r-- | peer.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |