From 389da98eb8998186de5648bcb2f318cc284504f7 Mon Sep 17 00:00:00 2001 From: blackjok3r Date: Tue, 14 May 2019 09:00:30 +0800 Subject: [PATCH] revert labs exemption --- src/cc/CCutils.cpp | 2 +- src/chain.h | 2 +- src/komodo_nk.h | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/cc/CCutils.cpp b/src/cc/CCutils.cpp index 1b326b85f..5de5ed0db 100644 --- a/src/cc/CCutils.cpp +++ b/src/cc/CCutils.cpp @@ -162,7 +162,7 @@ bool CheckTxFee(const CTransaction &tx, uint64_t txfee, uint32_t height, uint64_ actualtxfee = valuein-tx.GetValueOut(); if ( actualtxfee > txfee ) { - fprintf(stderr, "actualtxfee.%li vs txfee.%li\n", actualtxfee, txfee); + //fprintf(stderr, "actualtxfee.%li vs txfee.%li\n", actualtxfee, txfee); return false; } return true; diff --git a/src/chain.h b/src/chain.h index ac60dc277..b893e3a06 100644 --- a/src/chain.h +++ b/src/chain.h @@ -547,7 +547,7 @@ public: if ((s.GetType() & SER_DISK) && (nVersion >= SAPLING_VALUE_VERSION)) { READWRITE(nSaplingValue); } - if ( (s.GetType() & SER_DISK) && (is_STAKED(ASSETCHAINS_SYMBOL) != 0) )// && ASSETCHAINS_NOTARY_PAY[0] != 0 ) + if ( (s.GetType() & SER_DISK) && (is_STAKED(ASSETCHAINS_SYMBOL) != 0) && ASSETCHAINS_NOTARY_PAY[0] != 0 ) { READWRITE(nNotaryPay); READWRITE(segid); diff --git a/src/komodo_nk.h b/src/komodo_nk.h index 708e8ba6c..68512dfd7 100644 --- a/src/komodo_nk.h +++ b/src/komodo_nk.h @@ -1,10 +1,10 @@ #ifndef KOMODO_NK_H #define KOMODO_NK_H -#define ASSETCHAINS_N 77 -#define ASSETCHAINS_K 3 +//#define ASSETCHAINS_N 77 +//#define ASSETCHAINS_K 3 -//#define ASSETCHAINS_N 95 -//#define ASSETCHAINS_K 5 +#define ASSETCHAINS_N 96 +#define ASSETCHAINS_K 5 #endif