Set tiptime

This commit is contained in:
jl777
2018-12-05 01:51:38 -11:00
parent db99467890
commit ab2c621e63
3 changed files with 16 additions and 8 deletions

View File

@@ -2342,7 +2342,7 @@ UniValue walletlock(const UniValue& params, bool fHelp)
return NullUniValue;
}
int32_t komodo_acpublic();
int32_t komodo_acpublic(uint32_t tiptime);
UniValue encryptwallet(const UniValue& params, bool fHelp)
{
@@ -2350,7 +2350,7 @@ UniValue encryptwallet(const UniValue& params, bool fHelp)
return NullUniValue;
string enableArg = "developerencryptwallet";
flag = (komodo_acpublic() || ASSETCHAINS_SYMBOL[0] == 0);
flag = (komodo_acpublic(0) || ASSETCHAINS_SYMBOL[0] == 0);
auto fEnableWalletEncryption = fExperimentalMode && GetBoolArg("-" + enableArg, flag);
std::string strWalletEncryptionDisabledMsg = "";