pathchain 1.0.13 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/maker.js +2 -3
- package/package.json +1 -1
package/maker.js
CHANGED
|
@@ -130,9 +130,8 @@ function pioneer(xbigbang, format) {
|
|
|
130
130
|
var pioneer_hash = sha256(register_moment_hash + "_" + birthday_moment);
|
|
131
131
|
|
|
132
132
|
var buffer = entity.entity.encode({
|
|
133
|
-
birthday: "moments/"+birthday_moment,
|
|
134
133
|
register: "moments/"+register_moment_hash,
|
|
135
|
-
|
|
134
|
+
ancestor: "entities/"+pioneer_hash, // points to itself as ancestor entity in the chain
|
|
136
135
|
tag: "entities/"+pioneer_hash,
|
|
137
136
|
})
|
|
138
137
|
|
|
@@ -190,7 +189,7 @@ function entity(xsecret, format) {
|
|
|
190
189
|
|
|
191
190
|
var buffer = entity.entity.encode({
|
|
192
191
|
register: "moments/"+register_moment_hash,
|
|
193
|
-
ancestor: ancestor_entity_hash,
|
|
192
|
+
ancestor: "entities/"+ancestor_entity_hash,
|
|
194
193
|
tag: "entities/"+entity_hash,
|
|
195
194
|
})
|
|
196
195
|
|