sync: sync upstream code

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2019-07-16 12:22:39 +08:00
parent 32fbe503b9
commit 305d4b88da
9 changed files with 47 additions and 25 deletions

View File

@@ -1030,7 +1030,6 @@ export default class CBlock extends CRest {
var TR = arrContent[0];
if (TR[0] === TYPE_TRANSACTION.TYPE_TRANSACTION_ACC_HASH) {
if (!global.DApps.Accounts.TRCheckAccountHash(TR, Data.BlockNum)) {
global.ToLog(`global.DApps.Accounts.TRCheckAccountHash(TR, Data.BlockNum) ${JSON.stringify(TR)}, ${Data.BlockNum}`)
if (!this.BADHashCount)
this.BADHashCount = 0
this.BADHashCount++
@@ -1043,8 +1042,6 @@ export default class CBlock extends CRest {
this.FREE_ALL_MEM_CHAINS()
this.SetTruncateBlockDB(Block.BlockNum - 5 * global.DELTA_BLOCK_ACCOUNT_HASH)
}
else {
}
return;
}
}