removed some commented code

This commit is contained in:
Carson McManus 2016-08-23 13:59:10 -04:00
parent 3a0c63b589
commit c8a863f098

View file

@ -305,7 +305,6 @@ public class Manifest
public bool SaveAccount(SteamGuardAccount account, bool encrypt, string passKey = null, string salt = null, string iV = null)
{
if (encrypt && (String.IsNullOrEmpty(passKey) || String.IsNullOrEmpty(salt) || String.IsNullOrEmpty(iV))) return false;
//if (!encrypt && this.Encrypted) return false;
string jsonAccount = JsonConvert.SerializeObject(account);
@ -337,7 +336,7 @@ public class Manifest
}
bool wasEncrypted = this.Encrypted;
this.Encrypted = encrypt;// || this.Encrypted;
this.Encrypted = encrypt;
if (!this.Save())
{