mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-26 00:16:18 +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
|
|
@ -585,10 +585,10 @@ func (self *worker) commitNewWork() {
|
|||
}
|
||||
// won't grasp txs at checkpoint
|
||||
var (
|
||||
txs *types.TransactionsByPriceAndNonce
|
||||
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