1
0
forked from circlecloud/tera

feat: format code move type def

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2019-07-11 21:54:41 +08:00
parent f8fcab7929
commit 92a1edb789
5 changed files with 116 additions and 70 deletions

View File

@@ -100,7 +100,7 @@ export default class CConsensus extends CBlock {
Context.TrDataLen = 0
Context.Info = "Create at:" + global.GetStrOnlyTimeUTC()
var Transfer;
//var TransferM2;
var TransferM2;
var LocalLevel = 0;
var Levels = this.LevelNodes;
for (let L = 0; L < Levels.length; L++) {
@@ -1282,13 +1282,11 @@ export default class CConsensus extends CBlock {
return;
}
}
}
else {
} else {
this.OwnBlockCount = 0
}
}
}
else {
} else {
Block.HasErr = 1
if (!PrevBlock.bSave)
global.AddInfoBlock(Block, "Prev block not saved")