mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 02:40:45 +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
|
// won't grasp txs at checkpoint
|
||||||
var (
|
var (
|
||||||
txs *types.TransactionsByPriceAndNonce
|
txs *types.TransactionsByPriceAndNonce
|
||||||
specialTxs types.Transactions
|
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()
|
pending, err := self.eth.TxPool().Pending()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error("Failed to fetch pending transactions", "err", err)
|
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)
|
work.commitTransactions(self.mux, txs, specialTxs, self.chain, self.coinbase)
|
||||||
|
|
||||||
|
|
||||||
// compute uncles for the new block.
|
// compute uncles for the new block.
|
||||||
var (
|
var (
|
||||||
uncles []*types.Header
|
uncles []*types.Header
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue