aboutsummaryrefslogtreecommitdiffstats
path: root/peer.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-02-03 08:10:10 +0800
committerobscuren <geffobscura@gmail.com>2014-02-03 08:10:10 +0800
commit6292c5ad5a649c9c9c3dbe403c46fff960604f09 (patch)
tree224c947499468d9f80b985cb78a40e6dd69cfb28 /peer.go
parenta9a564c226bae04bc1939baf44884e7cd69ee924 (diff)
downloaddexon-6292c5ad5a649c9c9c3dbe403c46fff960604f09.tar
dexon-6292c5ad5a649c9c9c3dbe403c46fff960604f09.tar.gz
dexon-6292c5ad5a649c9c9c3dbe403c46fff960604f09.tar.bz2
dexon-6292c5ad5a649c9c9c3dbe403c46fff960604f09.tar.lz
dexon-6292c5ad5a649c9c9c3dbe403c46fff960604f09.tar.xz
dexon-6292c5ad5a649c9c9c3dbe403c46fff960604f09.tar.zst
dexon-6292c5ad5a649c9c9c3dbe403c46fff960604f09.zip
Transaction processing
Diffstat (limited to 'peer.go')
-rw-r--r--peer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/peer.go b/peer.go
index c67e407d1..b4225998e 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.NewTransactionFromRlpValue(msg.Data.Get(i)))
+ p.ethereum.TxPool.QueueTransaction(ethchain.NewTransactionFromData(ethutil.Encode(msg.Data.Get(i).AsRaw())))
}
case ethwire.MsgGetPeersTy:
// Flag this peer as a 'requested of new peers' this to