aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/transaction_pool.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-02 04:13:59 +0800
committerobscuren <geffobscura@gmail.com>2014-05-02 04:13:59 +0800
commite6a68f0c3ab4987fa5e0e35cac765d40ff305aea (patch)
treed9f55f57fa90654777155487c5ab649ae76e9096 /ethchain/transaction_pool.go
parentd2ab322267e489f47b4b908d060411eb0554a029 (diff)
downloaddexon-e6a68f0c3ab4987fa5e0e35cac765d40ff305aea.tar
dexon-e6a68f0c3ab4987fa5e0e35cac765d40ff305aea.tar.gz
dexon-e6a68f0c3ab4987fa5e0e35cac765d40ff305aea.tar.bz2
dexon-e6a68f0c3ab4987fa5e0e35cac765d40ff305aea.tar.lz
dexon-e6a68f0c3ab4987fa5e0e35cac765d40ff305aea.tar.xz
dexon-e6a68f0c3ab4987fa5e0e35cac765d40ff305aea.tar.zst
dexon-e6a68f0c3ab4987fa5e0e35cac765d40ff305aea.zip
Removed debug log
Diffstat (limited to 'ethchain/transaction_pool.go')
-rw-r--r--ethchain/transaction_pool.go14
1 files changed, 6 insertions, 8 deletions
diff --git a/ethchain/transaction_pool.go b/ethchain/transaction_pool.go
index 8fbe676f5..72836d6cb 100644
--- a/ethchain/transaction_pool.go
+++ b/ethchain/transaction_pool.go
@@ -91,14 +91,12 @@ func (pool *TxPool) addTransaction(tx *Transaction) {
// Process transaction validates the Tx and processes funds from the
// sender to the recipient.
func (pool *TxPool) ProcessTransaction(tx *Transaction, block *Block, toContract bool) (err error) {
- /*
- defer func() {
- if r := recover(); r != nil {
- log.Println(r)
- err = fmt.Errorf("%v", r)
- }
- }()
- */
+ defer func() {
+ if r := recover(); r != nil {
+ log.Println(r)
+ err = fmt.Errorf("%v", r)
+ }
+ }()
// Get the sender
sender := block.state.GetAccount(tx.Sender())