Disable UPnP on regtest and simnet
This commit is contained in:
parent
7154e57d49
commit
8a5e74ebe6
1 changed files with 1 additions and 1 deletions
|
@ -3053,7 +3053,7 @@ func initListeners(amgr *addrmgr.AddrManager, listenAddrs []string, services wir
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if !cfg.NoUpnp {
|
if !cfg.NoUpnp && !cfg.RegressionTest && !cfg.SimNet {
|
||||||
var err error
|
var err error
|
||||||
nat, err = Discover()
|
nat, err = Discover()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Add table
Reference in a new issue