close conns on filter; fix order in MakeConnectedSwitch

This commit is contained in:
Ethan Buchman
2016-11-23 18:16:40 -05:00
parent bd353e004a
commit 58e42397f8
2 changed files with 8 additions and 8 deletions

View File

@ -21,7 +21,7 @@ type NodeInfo struct {
Other []string `json:"other"` // other application specific data
}
// CONTRACT: two nodes are compactible if the major/minor versions match and network match
// CONTRACT: two nodes are compatible if the major/minor versions match and network match
func (info *NodeInfo) CompatibleWith(other *NodeInfo) error {
iMajor, iMinor, _, iErr := splitVersion(info.Version)
oMajor, oMinor, _, oErr := splitVersion(other.Version)