Skip to content

Commit 3e021d3

Browse files
committed
- removed unused 'vars' entry in cc obj
1 parent c0375c6 commit 3e021d3

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

index.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
*
88
*******************************************************************************/
99
/*
10-
Version: 0.0.7
11-
Updated: 03/03/2016
10+
Updated: 03/15/2016
1211
*/
1312

1413
//Load modules
@@ -21,7 +20,7 @@ var AdmZip = require('adm-zip');
2120

2221

2322
function ibc() {}
24-
ibc.chaincode = { //init it all
23+
ibc.chaincode = { //init it all
2524
read: null,
2625
query: null,
2726
write: null,
@@ -34,7 +33,6 @@ ibc.chaincode = { //init it all
3433
peers: [],
3534
timestamp: 0,
3635
users: [],
37-
vars: [],
3836
unzip_dir: '',
3937
zip_url: ''
4038
}
@@ -65,7 +63,7 @@ ibc.prototype.load = function(options, cb){
6563
return; //get out of dodge
6664
}
6765

68-
ibc.chaincode = { //init it all
66+
ibc.chaincode = { //empty it all
6967
read: null,
7068
query: null,
7169
write: null,
@@ -78,7 +76,6 @@ ibc.prototype.load = function(options, cb){
7876
peers: [],
7977
timestamp: 0,
8078
users: [],
81-
vars: [],
8279
unzip_dir: '',
8380
zip_url: ''
8481
}

0 commit comments

Comments
 (0)