From d03c92f5b002be168f4fb8cb434ac5a6dfb69ec1 Mon Sep 17 00:00:00 2001 From: erick yan <46879318+erickyan86@users.noreply.github.com> Date: Sun, 29 Sep 2019 16:59:08 +0800 Subject: [PATCH] modify gas price (#501) --- consensus/miner/miner.go | 1 - txpool/config.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/consensus/miner/miner.go b/consensus/miner/miner.go index 4664775b..782ea9e1 100644 --- a/consensus/miner/miner.go +++ b/consensus/miner/miner.go @@ -101,7 +101,6 @@ func (miner *Miner) Start(force bool) bool { // Stop stop worker func (miner *Miner) Stop() bool { if !atomic.CompareAndSwapInt32(&miner.mining, 2, 3) { - log.Error("miner already stopped") return false } log.Info("Stopping mining operation") diff --git a/txpool/config.go b/txpool/config.go index 328291d0..5b661af1 100644 --- a/txpool/config.go +++ b/txpool/config.go @@ -48,7 +48,7 @@ type Config struct { var DefaultTxPoolConfig = &Config{ Journal: "transactions.rlp", Rejournal: time.Hour, - PriceLimit: 1000000000, + PriceLimit: 100000000000, PriceBump: 10, AccountSlots: 128, GlobalSlots: 4096,