Refactored the DB class into a regular singleton class.

This commit is contained in:
softsimon
2022-04-13 17:38:42 +04:00
parent 6fb0571b06
commit 6919393e6c
10 changed files with 45 additions and 49 deletions

View File

@@ -1,5 +1,5 @@
import { BlockExtended, PoolTag } from '../mempool.interfaces';
import { DB } from '../database';
import { BlockExtended } from '../mempool.interfaces';
import DB from '../database';
import logger from '../logger';
import { Common } from '../api/common';
import { prepareBlock } from '../utils/blocks-utils';