Skip to content

Commit

Permalink
modify gas price (#501)
Browse files Browse the repository at this point in the history
  • Loading branch information
erickyan86 committed Sep 29, 2019
1 parent f8055ca commit d03c92f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion consensus/miner/miner.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion txpool/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d03c92f

Please sign in to comment.