cmd, core, eth, miner: remove txpool gas price limits (#14442)
This commit is contained in:
committed by
Felix Lange
parent
e20158176d
commit
a2f23ca9b1
@ -18,6 +18,7 @@
|
||||
package ethstats
|
||||
|
||||
import (
|
||||
"context"
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
@ -639,7 +640,8 @@ func (s *Service) reportStats(conn *websocket.Conn) error {
|
||||
sync := s.eth.Downloader().Progress()
|
||||
syncing = s.eth.BlockChain().CurrentHeader().Number.Uint64() >= sync.HighestBlock
|
||||
|
||||
gasprice = int(s.eth.Miner().GasPrice().Uint64())
|
||||
price, _ := s.eth.ApiBackend.SuggestPrice(context.Background())
|
||||
gasprice = int(price.Uint64())
|
||||
} else {
|
||||
sync := s.les.Downloader().Progress()
|
||||
syncing = s.les.BlockChain().CurrentHeader().Number.Uint64() >= sync.HighestBlock
|
||||
|
Reference in New Issue
Block a user