fix nil pointer and testing public ip

This commit is contained in:
TenderIronh
2021-12-10 17:20:17 +08:00
parent f12059d889
commit a28fc33b66
3 changed files with 37 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ import (
"time"
)
const OpenP2PVersion = "0.96.0"
const OpenP2PVersion = "0.96.1"
const ProducnName string = "openp2p"
type openP2PHeader struct {
@@ -127,7 +127,7 @@ const (
AESKeySize = 16
MaxRetry = 10
RetryInterval = time.Second * 30
PublicIPEchoTimeout = time.Second * 5
PublicIPEchoTimeout = time.Second * 3
NatTestTimeout = time.Second * 10
)