aboutsummaryrefslogtreecommitdiffstats
path: root/xeth/xeth.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-02 02:07:38 +0800
committerobscuren <geffobscura@gmail.com>2015-03-02 02:07:38 +0800
commitac88ae86a3f6fa5d5a957bac9d96e0a2027ac068 (patch)
tree98ebbebaa64930825994486ec87d6c1ee20ae6d0 /xeth/xeth.go
parent65cad14f9b27db396d036f47814d4843d947ac43 (diff)
downloaddexon-ac88ae86a3f6fa5d5a957bac9d96e0a2027ac068.tar.gz
dexon-ac88ae86a3f6fa5d5a957bac9d96e0a2027ac068.tar.zst
dexon-ac88ae86a3f6fa5d5a957bac9d96e0a2027ac068.zip
GetOrNew for accessors. Fixes #404
Diffstat (limited to 'xeth/xeth.go')
-rw-r--r--xeth/xeth.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go
index d4c188fec..677d40fd5 100644
--- a/xeth/xeth.go
+++ b/xeth/xeth.go
@@ -300,14 +300,6 @@ func (self *XEth) Transact(toStr, valueStr, gasStr, gasPriceStr, codeStr string)
tx.SetNonce(nonce)
tx.Sign(key.PrivateKey)
- //fmt.Printf("create tx: %x %v\n", tx.Hash()[:4], tx.Nonce())
-
- // Do some pre processing for our "pre" events and hooks
- //block := self.chainManager.NewBlock(key.Address())
- //coinbase := state.GetOrNewStateObject(key.Address())
- //coinbase.SetGasPool(block.GasLimit())
- //self.blockProcessor.ApplyTransactions(coinbase, state, block, types.Transactions{tx}, true)
-
err = self.eth.TxPool().Add(tx)
if err != nil {
return "", err