This commit is contained in:
Haris Khan
2024-10-26 19:20:05 -04:00
parent bfcde005b3
commit 890d71f974

View File

@ -62,6 +62,7 @@ func fileExists(filename string) (bool, error) {
return !info.IsDir(), nil return !info.IsDir(), nil
} }
// LoadKeysIncompat loads keys from non-standard format
func LoadKeysIncompat(r io.Reader) (I2PKeys, error) { func LoadKeysIncompat(r io.Reader) (I2PKeys, error) {
log.Debug("Loading keys from reader") log.Debug("Loading keys from reader")
var buff bytes.Buffer var buff bytes.Buffer