Skip to content

Commit

Permalink
Merge branch '26.x' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackcoinDev committed Oct 1, 2024
2 parents 12e2089 + cb4e454 commit 4cb53ec
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/wallet/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1516,13 +1516,8 @@ void CWallet::blockDisconnected(const interfaces::BlockInfo& block)
}
}

// Blackcoin: Call to abandon orphaned coinstakes after handling disconnections
// Log before calling AbandonOrphanedCoinstakes
LogPrint(BCLog::COINSTAKE, "Starting to abandon orphaned coinstakes after block disconnection at height %d\n", block.height);
// Blackcoin - Call to abandon orphaned coinstakes after handling disconnections
AbandonOrphanedCoinstakes();

// Log after the abandonment process
LogPrint(BCLog::COINSTAKE, "Completed abandoning orphaned coinstakes after block disconnection at height %d\n", block.height);
}

void CWallet::updatedBlockTip()
Expand Down

0 comments on commit 4cb53ec

Please sign in to comment.