This commit is contained in:
tree 2022-04-12 13:29:41 +02:00
rodič e862283507
revize 89e95ac1d1
1 změnil soubory, kde provedl 3 přidání a 0 odebrání

Zobrazit soubor

@ -162,12 +162,15 @@ export class UTXOEngine {
await emptyDir(outputSchemaDir);
console.log(`UTXO: writing schema (v${schemaVersion}) ..`);
const schemaBundle = []
for (const schema of schemas) {
await this._jsonWrite(
[outputSchemaDir, schema.name + ".json"],
schema.schema,
);
schemaBundle.push(schema.schema);
}
await this._jsonWrite([ outputSchemaDir, 'bundle.json' ])
// write global index
await this._jsonWrite([outputDir, "index.json"], entriesIndex);