Skip to content

Commit 2595e4e

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

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/stakeinput.cpp

Lines changed: 0 additions & 2 deletions
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

Lines changed: 1 addition & 1 deletion
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"
@@ -2751,6 +2750,7 @@ bool CWallet::StakeableUTXOs(std::vector<CStakeableOutput>* stakeableCoins) cons
27512750

27522751
bool CWallet::StakeableNotes(std::vector<CStakeableShieldNote>* shieldNotes) const
27532752
{
2753+
LOCK(cs_wallet);
27542754
if (Params().GetConsensus().NetworkUpgradeActive(this->GetLastBlockHeight(), Consensus::UPGRADE_SHIELD_STAKING)) {
27552755
return m_sspk_man->GetStakeableNotes(shieldNotes, Params().GetConsensus().nStakeMinDepth);
27562756
}

0 commit comments

Comments
 (0)