corr height
This commit is contained in:
@@ -1633,7 +1633,7 @@ int32_t prices_getbetinfo(uint256 bettxid, BetInfo &betinfo)
|
|||||||
|
|
||||||
// TODO: forget old tx
|
// TODO: forget old tx
|
||||||
CBlockIndex *bi = komodo_getblockindex(hashBlock);
|
CBlockIndex *bi = komodo_getblockindex(hashBlock);
|
||||||
if (bi && bi->GetHeight() > 5342)
|
if (bi && bi->GetHeight() < 5342)
|
||||||
return -5;
|
return -5;
|
||||||
|
|
||||||
OneBetData bet1;
|
OneBetData bet1;
|
||||||
@@ -2011,7 +2011,7 @@ UniValue PricesList(uint32_t filter, CPubKey mypk)
|
|||||||
|
|
||||||
// TODO: forget old tx
|
// TODO: forget old tx
|
||||||
CBlockIndex *bi = komodo_getblockindex(hashBlock);
|
CBlockIndex *bi = komodo_getblockindex(hashBlock);
|
||||||
if (bi && bi->GetHeight() > 5342)
|
if (bi && bi->GetHeight() < 5342)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
bool bAppend = false;
|
bool bAppend = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user