aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-02-03 08:12:44 +0800
committerobscuren <geffobscura@gmail.com>2014-02-03 08:12:44 +0800
commitf995f5763bf58bc2455058fe40bd15a6aa46a65f (patch)
tree7c57620e59e8ca357ddff3802f84a5fc40fd2b81
parent6292c5ad5a649c9c9c3dbe403c46fff960604f09 (diff)
downloaddexon-f995f5763bf58bc2455058fe40bd15a6aa46a65f.tar.gz
dexon-f995f5763bf58bc2455058fe40bd15a6aa46a65f.tar.zst
dexon-f995f5763bf58bc2455058fe40bd15a6aa46a65f.zip
Properly encode tx
-rw-r--r--peer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/peer.go b/peer.go
index b4225998e..dc2427b32 100644
--- a/peer.go
+++ b/peer.go
@@ -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