diff --git a/datastore/main/.env.defaults b/datastore/main/.env.defaults index 5044fd5f..19d63fcd 100644 --- a/datastore/main/.env.defaults +++ b/datastore/main/.env.defaults @@ -1,5 +1,5 @@ ARGON_MAINCHAIN_URL= -ARGON_GENESIS_UTC_TIME= +ARGON_GENESIS_UTC_TIME=1,728,396,000,000 ARGON_TICK_DURATION_MILLIS=60000 ARGON_NTP_SERVER=#pool.ntp.org ARGON_CHANNEL_HOLD_EXPIRATION_TICKS=60 diff --git a/datastore/main/payments/LocalchainWithSync.ts b/datastore/main/payments/LocalchainWithSync.ts index 77b61e06..cfbc1bb1 100644 --- a/datastore/main/payments/LocalchainWithSync.ts +++ b/datastore/main/payments/LocalchainWithSync.ts @@ -186,6 +186,7 @@ export default class LocalchainWithSync } public async attachMainchain(mainchain: MainchainClient): Promise { + if (!this.#localchain) return; await this.#localchain.attachMainchain(mainchain); await this.#localchain.updateTicker(); this.mainchainLoaded.resolve();