Fix lwmapos crash
This commit is contained in:
@@ -20,7 +20,7 @@ class CChainPower;
|
||||
|
||||
static const int SPROUT_VALUE_VERSION = 1001400;
|
||||
static const int SAPLING_VALUE_VERSION = 1010100;
|
||||
extern int32_t ASSETCHAINS_LWMAPOS;
|
||||
//extern int32_t ASSETCHAINS_LWMAPOS;
|
||||
|
||||
struct CDiskBlockPos
|
||||
{
|
||||
@@ -449,9 +449,9 @@ public:
|
||||
|
||||
bool IsVerusPOSBlock() const
|
||||
{
|
||||
if ( ASSETCHAINS_LWMAPOS != 0 )
|
||||
//if ( ASSETCHAINS_LWMAPOS != 0 )
|
||||
return GetBlockHeader().IsVerusPOSBlock();
|
||||
else return(0);
|
||||
//else return(0);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user