lndclient: log version of connected lnd instance

This commit is contained in:
Joost Jager 2020-06-15 11:57:05 +02:00
parent 83f1a052d9
commit e10cd7ca3a
No known key found for this signature in database
GPG key ID: A61B9D4C393C59C7

View file

@ -340,6 +340,8 @@ func checkVersionCompatibility(client VersionerClient,
return nil, fmt.Errorf("GetVersion error: %v", err)
}
log.Infof("lnd version: %v", VersionString(version))
// Now check the version and make sure all required build tags are set.
err = assertVersionCompatible(version, expected)
if err != nil {