Tue Sep 3 09:01:40 CST 2019 Source Update...
This commit is contained in:
@@ -632,7 +632,7 @@ HostingCaller.GetAccountListByKey = function (Params,aaa,bbb,bRet)
|
||||
if(!Data.PubKeyStr)
|
||||
Data.PubKeyStr = GetHexFromArr(Data.PubKey);
|
||||
if(Data.Currency)
|
||||
Data.CurrencyObj = DApps.Smart.ReadSimple(Data.Currency);
|
||||
Data.CurrencyObj = DApps.Smart.ReadSimple(Data.Currency, 1);
|
||||
if(Data.Value.Smart)
|
||||
{
|
||||
Data.SmartObj = DApps.Smart.ReadSimple(Data.Value.Smart);
|
||||
@@ -742,15 +742,17 @@ HostingCaller.DappInfo = function (Params)
|
||||
var StrInfo = JSON.stringify(Ret);
|
||||
if(!Params.AllData && Context.PrevDappInfo === StrInfo)
|
||||
{
|
||||
return {result:0, cache:1};
|
||||
Ret = {result:2, cache:1, Session:Context.Session};
|
||||
}
|
||||
else
|
||||
{
|
||||
Context.PrevDappInfo = StrInfo;
|
||||
Context.NumDappInfo++;
|
||||
Context.LastTime = Date.now();
|
||||
}
|
||||
Context.PrevDappInfo = StrInfo;
|
||||
Context.NumDappInfo++;
|
||||
Context.LastTime = Date.now();
|
||||
Ret.NumDappInfo = Context.NumDappInfo;
|
||||
Ret.CurTime = Date.now();
|
||||
Ret.CurBlockNum = GetCurrentBlockNumByTime();
|
||||
Ret.BlockNumDB = SERVER.BlockNumDB;
|
||||
Ret.MaxAccID = DApps.Accounts.GetMaxAccount();
|
||||
Ret.MaxDappsID = DApps.Smart.GetMaxNum();
|
||||
return Ret;
|
||||
|
||||
Reference in New Issue
Block a user