fix: time sync not effect

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
MiaoWoo 2019-07-13 19:53:17 +08:00
parent 04d8ef4ba8
commit 375134fdc3

View File

@ -13,9 +13,9 @@ import '../core/constant'
import * as fs from 'fs'
import * as os from 'os'
import * as crypto from 'crypto';
global.START_SERVER = 1;
import { secp256k1 } from '../core/library'
global.START_SERVER = 1;
global.DATA_PATH = global.GetNormalPathString(global.DATA_PATH);
global.CODE_PATH = global.GetNormalPathString(global.CODE_PATH);
console.log("DATA DIR: " + global.DATA_PATH);