aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-06-16 17:13:19 +0800
committerobscuren <geffobscura@gmail.com>2014-06-16 17:13:19 +0800
commit7b55bcf4840fc11315ffd055ce7d419ac9baf168 (patch)
tree9bad4bf929cc1cbaeb89de1fe858d0d5989d9bee /ethchain
parent15d1f753f7ac2f72ce0637135a17d86b29f15515 (diff)
downloaddexon-7b55bcf4840fc11315ffd055ce7d419ac9baf168.tar
dexon-7b55bcf4840fc11315ffd055ce7d419ac9baf168.tar.gz
dexon-7b55bcf4840fc11315ffd055ce7d419ac9baf168.tar.bz2
dexon-7b55bcf4840fc11315ffd055ce7d419ac9baf168.tar.lz
dexon-7b55bcf4840fc11315ffd055ce7d419ac9baf168.tar.xz
dexon-7b55bcf4840fc11315ffd055ce7d419ac9baf168.tar.zst
dexon-7b55bcf4840fc11315ffd055ce7d419ac9baf168.zip
Removed old fees
Diffstat (limited to 'ethchain')
-rw-r--r--ethchain/transaction_pool.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethchain/transaction_pool.go b/ethchain/transaction_pool.go
index 6538b0029..24836222a 100644
--- a/ethchain/transaction_pool.go
+++ b/ethchain/transaction_pool.go
@@ -179,7 +179,7 @@ func (pool *TxPool) ValidateTransaction(tx *Transaction) error {
//sender := pool.Ethereum.StateManager().procState.GetAccount(tx.Sender())
sender := pool.Ethereum.StateManager().CurrentState().GetAccount(tx.Sender())
- totAmount := new(big.Int).Add(tx.Value, new(big.Int).Mul(TxFee, TxFeeRat))
+ totAmount := new(big.Int).Set(tx.Value)
// Make sure there's enough in the sender's account. Having insufficient
// funds won't invalidate this transaction but simple ignores it.
if sender.Amount.Cmp(totAmount) < 0 {