Commit eac3880a8c43e92cadb18f267ddef5ca6f8d8d31
fix nonce issue
wanderer committed on 3/11/2018, 11:25:04 PMParent: 6fe142caac2b90a38153c18db7efe3c687a39a75
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