mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
p2p/simulations: Remove superfluous error check
This commit is contained in:
parent
91d15ad5b3
commit
9e168075b6
1 changed files with 0 additions and 3 deletions
|
|
@ -118,9 +118,6 @@ func (e *ExecAdapter) NewNode(config *NodeConfig) (Node, error) {
|
|||
// listen on a localhost port, which we set when we
|
||||
// initialise NodeConfig (usually a random port)
|
||||
conf.Stack.P2P.ListenAddr = fmt.Sprintf(":%d", config.Port)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
node := &ExecNode{
|
||||
ID: config.ID,
|
||||
|
|
|
|||
Loading…
Reference in a new issue