make a version which stringifies i2pkeys

This commit is contained in:
idk
2021-01-22 16:18:17 -05:00
parent 42d542dd8b
commit f97683379f

View File

@ -26,7 +26,7 @@ func (c *Client) NewDestination(sigType ...string) (string, string, error) {
return "", "", errors.New("failed to generate private destination key")
}
if pub = r.Pairs["PUB"]; pub == "" {
return priv, "", errors.New("failed to generate public destination key")
return priv, "", errors.New("failed to generate public destination key")
}
return priv, pub, nil
}