No expiry
This commit is contained in:
@@ -2224,7 +2224,6 @@ bool myGetTransaction(const uint256 &hash, CTransaction &txOut, uint256 &hashBlo
|
|||||||
{
|
{
|
||||||
int64_t rewardsum = 0; int32_t retval,vout = 0;
|
int64_t rewardsum = 0; int32_t retval,vout = 0;
|
||||||
retval = NSPV_gettransaction(1,vout,hash,0,txOut,0,0,rewardsum);
|
retval = NSPV_gettransaction(1,vout,hash,0,txOut,0,0,rewardsum);
|
||||||
fprintf(stderr,"myGetTransaction retval.%d\n",retval);
|
|
||||||
return(retval == 0);
|
return(retval == 0);
|
||||||
}
|
}
|
||||||
// need a GetTransaction without lock so the validation code for assets can run without deadlock
|
// need a GetTransaction without lock so the validation code for assets can run without deadlock
|
||||||
@@ -8471,7 +8470,8 @@ CMutableTransaction CreateNewContextualCMutableTransaction(const Consensus::Para
|
|||||||
bool isOverwintered = NetworkUpgradeActive(nHeight, consensusParams, Consensus::UPGRADE_OVERWINTER) || (KOMODO_NSPV != 0);
|
bool isOverwintered = NetworkUpgradeActive(nHeight, consensusParams, Consensus::UPGRADE_OVERWINTER) || (KOMODO_NSPV != 0);
|
||||||
if (isOverwintered) {
|
if (isOverwintered) {
|
||||||
mtx.fOverwintered = true;
|
mtx.fOverwintered = true;
|
||||||
mtx.nExpiryHeight = nHeight + expiryDelta;
|
if ( KOMODO_NSPV == 0 )
|
||||||
|
mtx.nExpiryHeight = nHeight + expiryDelta;
|
||||||
|
|
||||||
if ( NetworkUpgradeActive(nHeight, consensusParams, Consensus::UPGRADE_SAPLING) || (KOMODO_NSPV != 0) )
|
if ( NetworkUpgradeActive(nHeight, consensusParams, Consensus::UPGRADE_SAPLING) || (KOMODO_NSPV != 0) )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user