cosmetic
This commit is contained in:
1 parent
f2d7a28258
commit
175f38414e
1 file changed
+1
-2
+1
-2
@@ -294,8 +294,7 @@ func (conn *LocalConnection) parseFeatures(features features) (*Peer, error) {
|
||||
var hasShortID bool
|
||||
if shortIDStr, present := features["ShortID"]; present {
|
||||
hasShortID = true
|
||||
shortID, err = strconv.ParseUint(shortIDStr, 10,
|
||||
PeerShortIDBits)
|
||||
shortID, err = strconv.ParseUint(shortIDStr, 10, PeerShortIDBits)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user