Fix backend support for 'liquidtestnet' network

This commit is contained in:
softsimon
2021-12-31 01:26:45 +04:00
parent 40fb1792f4
commit 350b4922da
6 changed files with 14 additions and 10 deletions

View File

@@ -127,7 +127,7 @@ class DatabaseMigration {
const queries: string[] = [];
if (version < 1) {
if (config.MEMPOOL.NETWORK !== 'liquid') {
if (config.MEMPOOL.NETWORK !== 'liquid' && config.MEMPOOL.NETWORK !== 'liquidtestnet') {
queries.push(`UPDATE statistics SET
vsize_1 = vsize_1 + vsize_2, vsize_2 = vsize_3,
vsize_3 = vsize_4, vsize_4 = vsize_5,