Skip to content

Commit bfc3b48

Browse files
committed
[SQUASH] FIx cmake?
1 parent 9f40390 commit bfc3b48

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/stakeinput.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@
44

55
#include "stakeinput.h"
66

7-
#include "../wallet/wallet.h"
87
#include "amount.h"
98
#include "chain.h"
10-
#include "librustzcash.h"
119
#include "streams.h"
1210
#include "txdb.h"
1311
#include "validation.h"

src/wallet/wallet.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
#include "optional.h"
99
#include "consensus/params.h"
10-
#include "librustzcash.h"
1110
#include "primitives/transaction.h"
1211
#include "sapling/saplingscriptpubkeyman.h"
1312
#include "sapling/zip32.h"
@@ -2752,6 +2751,7 @@ bool CWallet::StakeableUTXOs(std::vector<CStakeableOutput>* stakeableCoins) cons
27522751
bool CWallet::StakeableNotes(std::vector<CStakeableShieldNote>* shieldNotes) const
27532752
{
27542753
if (Params().GetConsensus().NetworkUpgradeActive(this->GetLastBlockHeight(), Consensus::UPGRADE_SHIELD_STAKING)) {
2754+
LOCK(cs_wallet);
27552755
return m_sspk_man->GetStakeableNotes(shieldNotes, Params().GetConsensus().nStakeMinDepth);
27562756
}
27572757
return false;

0 commit comments

Comments
 (0)