Skip to content

Commit

Permalink
[SQUASH] FIx cmake?
Browse files Browse the repository at this point in the history
  • Loading branch information
panleone committed Jul 19, 2023
1 parent 9f40390 commit bfc3b48
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/stakeinput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@

#include "stakeinput.h"

#include "../wallet/wallet.h"
#include "amount.h"
#include "chain.h"
#include "librustzcash.h"
#include "streams.h"
#include "txdb.h"
#include "validation.h"
Expand Down
2 changes: 1 addition & 1 deletion src/wallet/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

#include "optional.h"
#include "consensus/params.h"
#include "librustzcash.h"
#include "primitives/transaction.h"
#include "sapling/saplingscriptpubkeyman.h"
#include "sapling/zip32.h"
Expand Down Expand Up @@ -2752,6 +2751,7 @@ bool CWallet::StakeableUTXOs(std::vector<CStakeableOutput>* stakeableCoins) cons
bool CWallet::StakeableNotes(std::vector<CStakeableShieldNote>* shieldNotes) const
{
if (Params().GetConsensus().NetworkUpgradeActive(this->GetLastBlockHeight(), Consensus::UPGRADE_SHIELD_STAKING)) {
LOCK(cs_wallet);
return m_sspk_man->GetStakeableNotes(shieldNotes, Params().GetConsensus().nStakeMinDepth);
}
return false;
Expand Down

0 comments on commit bfc3b48

Please sign in to comment.