mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
Fixed golint.
This commit is contained in:
parent
6fa126fca9
commit
2afd4bf5cd
8 changed files with 13 additions and 13 deletions
|
|
@ -35,9 +35,9 @@ import (
|
|||
"github.com/ethereum/go-ethereum/accounts/abi/bind"
|
||||
"github.com/ethereum/go-ethereum/accounts/abi/bind/backends"
|
||||
blockSignerContract "github.com/ethereum/go-ethereum/contracts/blocksigner"
|
||||
multiSignWalletContract "github.com/ethereum/go-ethereum/contracts/multisigwallet"
|
||||
randomizeContract "github.com/ethereum/go-ethereum/contracts/randomize"
|
||||
validatorContract "github.com/ethereum/go-ethereum/contracts/validator"
|
||||
multiSignWalletContract "github.com/ethereum/go-ethereum/contracts/multisigwallet"
|
||||
"github.com/ethereum/go-ethereum/crypto"
|
||||
"github.com/ethereum/go-ethereum/rlp"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -22,11 +22,11 @@ import (
|
|||
"github.com/ethereum/go-ethereum/accounts/abi/bind"
|
||||
"github.com/ethereum/go-ethereum/accounts/abi/bind/backends"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/consensus/posv"
|
||||
"github.com/ethereum/go-ethereum/contracts/blocksigner"
|
||||
"github.com/ethereum/go-ethereum/core"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/crypto"
|
||||
"github.com/ethereum/go-ethereum/consensus/posv"
|
||||
"math/big"
|
||||
"math/rand"
|
||||
"testing"
|
||||
|
|
|
|||
|
|
@ -669,7 +669,7 @@ func (f *Fetcher) insert(peer string, block *types.Block) {
|
|||
go f.broadcastBlock(block, true)
|
||||
return
|
||||
}
|
||||
f.enqueue(peer,newBlock)
|
||||
f.enqueue(peer, newBlock)
|
||||
return
|
||||
default:
|
||||
// Something went very wrong, drop the peer
|
||||
|
|
|
|||
Loading…
Reference in a new issue