mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-20 11:46:44 +00:00
Fixed hard code 3 mns address only for testnet.
This commit is contained in:
parent
08843fa176
commit
315c400748
1 changed files with 2 additions and 3 deletions
|
|
@ -588,7 +588,7 @@ func (self *worker) commitNewWork() {
|
|||
txs *types.TransactionsByPriceAndNonce
|
||||
specialTxs types.Transactions
|
||||
)
|
||||
if self.config.XDPoS != nil && header.Number.Uint64() % self.config.XDPoS.Epoch != 0 {
|
||||
if self.config.XDPoS != nil && header.Number.Uint64()%self.config.XDPoS.Epoch != 0 {
|
||||
pending, err := self.eth.TxPool().Pending()
|
||||
if err != nil {
|
||||
log.Error("Failed to fetch pending transactions", "err", err)
|
||||
|
|
@ -598,7 +598,6 @@ func (self *worker) commitNewWork() {
|
|||
}
|
||||
work.commitTransactions(self.mux, txs, specialTxs, self.chain, self.coinbase)
|
||||
|
||||
|
||||
// compute uncles for the new block.
|
||||
var (
|
||||
uncles []*types.Header
|
||||
|
|
|
|||
Loading…
Reference in a new issue