diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-02 02:07:38 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-02 02:07:38 +0800 |
commit | ac88ae86a3f6fa5d5a957bac9d96e0a2027ac068 (patch) | |
tree | 98ebbebaa64930825994486ec87d6c1ee20ae6d0 /xeth | |
parent | 65cad14f9b27db396d036f47814d4843d947ac43 (diff) | |
download | go-tangerine-ac88ae86a3f6fa5d5a957bac9d96e0a2027ac068.tar.gz go-tangerine-ac88ae86a3f6fa5d5a957bac9d96e0a2027ac068.tar.zst go-tangerine-ac88ae86a3f6fa5d5a957bac9d96e0a2027ac068.zip |
GetOrNew for accessors. Fixes #404
Diffstat (limited to 'xeth')
-rw-r--r-- | xeth/xeth.go | 8 |
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 |