Browse Source

Autologout 777

warmup
jl777 5 years ago
parent
commit
912f50a0e4
  1. 2
      src/komodo_nSPV_superlite.h
  2. 2
      src/komodo_nSPV_wallet.h

2
src/komodo_nSPV_superlite.h

@ -228,7 +228,7 @@ UniValue NSPV_login(char *wifstr)
strncpy(NSPV_wifstr,wifstr,sizeof(NSPV_wifstr)-1);
NSPV_logintime = (uint32_t)time(NULL);
result.push_back(Pair("result","success"));
result.push_back(Pair("status","wif will expire in 60 seconds"));
result.push_back(Pair("status","wif will expire in 777 seconds"));
NSPV_key = DecodeSecret(wifstr);
CPubKey pubkey = NSPV_key.GetPubKey();
CKeyID vchAddress = pubkey.GetID();

2
src/komodo_nSPV_wallet.h

@ -20,7 +20,7 @@
// nSPV wallet uses superlite functions (and some komodod built in functions) to implement nSPV_spend
extern void TxToJSON(const CTransaction& tx, const uint256 hashBlock, UniValue& entry);
#define NSPV_AUTOLOGOUT 60
#define NSPV_AUTOLOGOUT 777
#define NSPV_BRANCHID 0x76b809bb

Loading…
Cancel
Save