aboutsummaryrefslogtreecommitdiffstats
path: root/miner
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-12-04 23:44:43 +0800
committerobscuren <geffobscura@gmail.com>2014-12-04 23:44:43 +0800
commita5b27bbc10d6a145152fc2629043c46ef4a9ca71 (patch)
tree9752704f0f3f310f382d75438d2c71ff73fbe16c /miner
parent8c7e4b290fbdfe2c0da451aef03b94bec3c95e4c (diff)
downloaddexon-a5b27bbc10d6a145152fc2629043c46ef4a9ca71.tar
dexon-a5b27bbc10d6a145152fc2629043c46ef4a9ca71.tar.gz
dexon-a5b27bbc10d6a145152fc2629043c46ef4a9ca71.tar.bz2
dexon-a5b27bbc10d6a145152fc2629043c46ef4a9ca71.tar.lz
dexon-a5b27bbc10d6a145152fc2629043c46ef4a9ca71.tar.xz
dexon-a5b27bbc10d6a145152fc2629043c46ef4a9ca71.tar.zst
dexon-a5b27bbc10d6a145152fc2629043c46ef4a9ca71.zip
Improved and simplified wallet functions and behaviour
Diffstat (limited to 'miner')
-rw-r--r--miner/miner.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/miner/miner.go b/miner/miner.go
index 589144c0c..f9b8a9c22 100644
--- a/miner/miner.go
+++ b/miner/miner.go
@@ -192,7 +192,7 @@ func (self *Miner) mine() {
// Accumulate all valid transactions and apply them to the new state
// Error may be ignored. It's not important during mining
- receipts, txs, _, erroneous, err := blockManager.ProcessTransactions(coinbase, block.State(), block, block, transactions)
+ receipts, txs, _, erroneous, err := blockManager.ApplyTransactions(coinbase, block.State(), block, transactions, true)
if err != nil {
minerlogger.Debugln(err)
}