File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -4337,11 +4337,6 @@ int CWalletTx::GetBlocksToMaturity() const
43374337 return std::max (0 , (Params ().GetConsensus ().nCoinbaseMaturity + 1 ) - GetDepthInMainChain ());
43384338}
43394339
4340- bool CWalletTx::IsInMainChain () const
4341- {
4342- return GetDepthInMainChain () > 0 ;
4343- }
4344-
43454340bool CWalletTx::IsInMainChainImmature () const
43464341{
43474342 if (!IsCoinBase () && !IsCoinStake ()) return false ;
Original file line number Diff line number Diff line change @@ -522,7 +522,6 @@ class CWalletTx
522522 */
523523 int GetDepthInMainChain (const CBlockIndex*& pindexRet) const ;
524524 int GetDepthInMainChain () const ;
525- bool IsInMainChain () const ;
526525 bool IsInMainChainImmature () const ;
527526 int GetBlocksToMaturity () const ;
528527
You can’t perform that action at this time.
0 commit comments