diff --git a/src/chain.h b/src/chain.h index 3ff971609..95553c23c 100644 --- a/src/chain.h +++ b/src/chain.h @@ -449,7 +449,7 @@ public: bool IsVerusPOSBlock() const { - if ( 1 || ASSETCHAINS_LWMAPOS != 0 ) + if ( ASSETCHAINS_LWMAPOS != 0 ) return GetBlockHeader().IsVerusPOSBlock(); else return(0); } diff --git a/src/primitives/block.h b/src/primitives/block.h index e4c37f2dc..053b1c80e 100644 --- a/src/primitives/block.h +++ b/src/primitives/block.h @@ -111,7 +111,7 @@ public: bool IsVerusPOSBlock() const { - if ( 1 || ASSETCHAINS_LWMAPOS != 0 ) + if ( ASSETCHAINS_LWMAPOS != 0 ) return nNonce.IsPOSNonce(); else return(0); }