aboutsummaryrefslogtreecommitdiffstats
path: root/peer.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-01-21 06:26:32 +0800
committerobscuren <geffobscura@gmail.com>2014-01-21 06:26:32 +0800
commit09df961abb69bb1c49a53e7d61e9c76a1ff0edcd (patch)
tree63d1e2c4df67bfd52922f61ee725edf5294961a1 /peer.go
parentb608a80ef154ac7847c3f6dbb8727f8d83aca735 (diff)
downloadgo-tangerine-09df961abb69bb1c49a53e7d61e9c76a1ff0edcd.tar
go-tangerine-09df961abb69bb1c49a53e7d61e9c76a1ff0edcd.tar.gz
go-tangerine-09df961abb69bb1c49a53e7d61e9c76a1ff0edcd.tar.bz2
go-tangerine-09df961abb69bb1c49a53e7d61e9c76a1ff0edcd.tar.lz
go-tangerine-09df961abb69bb1c49a53e7d61e9c76a1ff0edcd.tar.xz
go-tangerine-09df961abb69bb1c49a53e7d61e9c76a1ff0edcd.tar.zst
go-tangerine-09df961abb69bb1c49a53e7d61e9c76a1ff0edcd.zip
Transaction processing. Implemented sending and receiving wei
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 158541028..0f3422826 100644
--- a/peer.go
+++ b/peer.go
@@ -174,7 +174,7 @@ out:
log.Println(err)
}
case ethwire.MsgTxTy:
- //p.server.blockManager.AddToTransactionPool(ethutil.NewTransactionFromData(ethutil.Encode(msg.Data)))
+ p.server.txPool.QueueTransaction(ethutil.NewTransactionFromData(ethutil.Encode(msg.Data)))
case ethwire.MsgInvTy:
case ethwire.MsgGetPeersTy:
p.requestedPeerList = true