Fri Jul 19 12:26:00 CST 2019 Source Update...
This commit is contained in:
@@ -674,10 +674,6 @@ class AccountApp extends require("./dapp")
|
||||
Account.Adviser = TR.Adviser
|
||||
Account.Value.Smart = TR.Smart
|
||||
this.WriteStateTR(Account, TrNum)
|
||||
if(CompareArr(Account.PubKey, WALLET.PubKeyArr) === 0)
|
||||
{
|
||||
WALLET.OnCreateAccount(Account)
|
||||
}
|
||||
this.ResultTx = Account.Num
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -1099,6 +1099,7 @@ function $Send(ToID,CoinSum,Description)
|
||||
ToID = ParseNum(ToID);
|
||||
if(typeof CoinSum === "number")
|
||||
CoinSum = COIN_FROM_FLOAT(CoinSum);
|
||||
CHECKSUM(CoinSum);
|
||||
if(CoinSum.SumCENT >= 1e9)
|
||||
{
|
||||
throw "ERROR SumCENT>=1e9";
|
||||
@@ -1147,6 +1148,7 @@ function $Move(FromID,ToID,CoinSum,Description)
|
||||
{
|
||||
CoinSum = COIN_FROM_FLOAT(CoinSum);
|
||||
}
|
||||
CHECKSUM(CoinSum);
|
||||
if(CoinSum.SumCENT >= 1e9)
|
||||
{
|
||||
throw "ERROR SumCENT>=1e9";
|
||||
|
||||
Reference in New Issue
Block a user