Merge pull request #358 from dinhln89/half-mn

Remove comment redudant code for issue https://github.com/tomochain/tomochain/pull/343
This commit is contained in:
Tuna 2018-12-24 17:45:40 +07:00 committed by GitHub
commit 2a95e684bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 8 deletions

View file

@ -28,6 +28,7 @@ import (
"unicode"
"github.com/ethereum/go-ethereum/cmd/utils"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/dashboard"
"github.com/ethereum/go-ethereum/eth"
"github.com/ethereum/go-ethereum/internal/debug"
@ -36,7 +37,6 @@ import (
"github.com/ethereum/go-ethereum/params"
whisper "github.com/ethereum/go-ethereum/whisper/whisperv6"
"github.com/naoina/toml"
"github.com/ethereum/go-ethereum/common"
)
var (

View file

@ -480,7 +480,6 @@ func (c *Posv) YourTurn(chain consensus.ChainReader, parent *types.Header, signe
// Only three mns for tomo testnet.
masternodes = masternodes[:3]
}
log.Error("masternodes", "masternodes", len(masternodes))
snap, err := c.GetSnapshot(chain, parent)
if err != nil {
log.Warn("Failed when trying to commit new work", "err", err)