diff options
author | obscuren <geffobscura@gmail.com> | 2014-04-09 21:08:10 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-04-09 21:08:10 +0800 |
commit | 035f0ffb8ac95faa1742c0575cc9b5409ec54379 (patch) | |
tree | e35c99b1489b72b7068b58a69504664b8239fb47 /ethchain/state_manager.go | |
parent | 527a3bbc2aa9cfd26bd8419d33b50adef536067d (diff) | |
download | dexon-035f0ffb8ac95faa1742c0575cc9b5409ec54379.tar.gz dexon-035f0ffb8ac95faa1742c0575cc9b5409ec54379.tar.zst dexon-035f0ffb8ac95faa1742c0575cc9b5409ec54379.zip |
Reverted changes
Diffstat (limited to 'ethchain/state_manager.go')
-rw-r--r-- | ethchain/state_manager.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ethchain/state_manager.go b/ethchain/state_manager.go index 4b0ea2515..c33ba9272 100644 --- a/ethchain/state_manager.go +++ b/ethchain/state_manager.go @@ -114,12 +114,12 @@ func (sm *StateManager) ApplyTransactions(block *Block, txs []*Transaction) { // contract instead of moving funds between accounts. var err error if contract := sm.procState.GetContract(tx.Recipient); contract != nil { - err = sm.Ethereum.TxPool().ProcessTransaction(tx, sm.procState, true) + err = sm.Ethereum.TxPool().ProcessTransaction(tx, block, true) if err == nil { sm.ProcessContract(contract, tx, block) } } else { - err = sm.Ethereum.TxPool().ProcessTransaction(tx, sm.procState, false) + err = sm.Ethereum.TxPool().ProcessTransaction(tx, block, false) } if err != nil { |