diff options
author | obscuren <geffobscura@gmail.com> | 2014-03-27 22:42:39 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-03-27 22:42:39 +0800 |
commit | 43cad6901620ca077e43f195cc5ae4d1c8edb2d0 (patch) | |
tree | 0976ea78d90ae84b179097b90efeaf87ab74e994 /peer.go | |
parent | 308c59320c25845f9668e76559b581e2161fec15 (diff) | |
download | dexon-43cad6901620ca077e43f195cc5ae4d1c8edb2d0.tar.gz dexon-43cad6901620ca077e43f195cc5ae4d1c8edb2d0.tar.zst dexon-43cad6901620ca077e43f195cc5ae4d1c8edb2d0.zip |
Reworked transaction constructors
Diffstat (limited to 'peer.go')
-rw-r--r-- | peer.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -334,7 +334,8 @@ func (p *Peer) HandleInbound() { // in the TxPool where it will undergo validation and // processing when a new block is found for i := 0; i < msg.Data.Len(); i++ { - p.ethereum.TxPool().QueueTransaction(ethchain.NewTransactionFromData(msg.Data.Get(i).Encode())) + //p.ethereum.TxPool().QueueTransaction(ethchain.NewTransactionFromData(msg.Data.Get(i).Encode())) + p.ethereum.TxPool().QueueTransaction(ethchain.NewTransactionFromValue(msg.Data.Get(i))) } case ethwire.MsgGetPeersTy: // Flag this peer as a 'requested of new peers' this to |