Skip to content

Commit acdf0c9

Browse files
author
limxdev
committed
Update wallet.cpp
1 parent 4b0f455 commit acdf0c9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/wallet/wallet.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5612,9 +5612,9 @@ int CMerkleTx::GetBlocksToMaturity() const
56125612
chain_depth = 0;
56135613
// FXTC END
56145614
assert(chain_depth >= 0); // coinbase tx should not be conflicted
5615-
//return std::max(0, (COINBASE_MATURITY+1) - chain_depth);
5615+
return std::max(0, (COINBASE_MATURITY_3 +1) - chain_depth);
56165616
// BTX BEGIN
5617-
return std::max(0, ((!sporkManager.IsSporkActive(SPORK_BTX_15_COINBASE_MATURITY_STAGE_2)? COINBASE_MATURITY : COINBASE_MATURITY_2 )+1) - chain_depth);
5617+
//return std::max(0, ((!sporkManager.IsSporkActive(SPORK_BTX_15_COINBASE_MATURITY_STAGE_2)? COINBASE_MATURITY : //COINBASE_MATURITY_3 )+1) - chain_depth);
56185618
// BTX END
56195619
}
56205620

0 commit comments

Comments
 (0)