Commit 3293a87f5f8d4e902258609eb8f0c213b7c38192
revert initial actor nonce to 0
Norton Wang committed on 3/7/2018, 9:59:48 PMParent: 7023adc16f2c47b0399a242111adf25544a62185
Files changed
index.js | changed |
index.js | ||
---|---|---|
@@ -67,9 +67,9 @@ | ||
67 | 67 | const encoded = encodedID(id) |
68 | 68 | let idHash = this._hash(encoded) |
69 | 69 | idHash = new ID(idHash) |
70 | 70 | const module = await Container.onCreation(code, idHash, this.tree) |
71 | - const metaData = [type, id.nonce] | |
71 | + const metaData = [type, 0] | |
72 | 72 | |
73 | 73 | // save the container in the state |
74 | 74 | const node = await this.tree.set(idHash.id, metaData) |
75 | 75 | // save the code |
Built with git-ssb-web