Skip to content

Commit 2427af4

Browse files
committed
delete extra comment
1 parent 6487376 commit 2427af4

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

src/index.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1109,14 +1109,12 @@ ChainsqlAPI.prototype.createSchema = function(schemaInfo){
11091109
let bValid = (schemaInfo !== undefined) && (schemaInfo.SchemaName !== undefined) && (schemaInfo.WithState !== undefined) &&
11101110
(schemaInfo.Validators !== undefined) && (schemaInfo.Validators instanceof Array) &&
11111111
(schemaInfo.PeerList !== undefined) && (schemaInfo.PeerList instanceof Array);
1112+
11121113

11131114
if(!bValid){
11141115
throw new Error("Invalid schemaInfo parameter");
1115-
}
1116-
1117-
// 继承自主链的状态
1118-
// 锚定区块的hash值
1119-
1116+
}
1117+
11201118
var peerlists = []
11211119
var i = 0;
11221120
var len = schemaInfo.PeerList.length

0 commit comments

Comments
 (0)