File tree 2 files changed +1
-3
lines changed
2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 4
4
5
5
#include " stakeinput.h"
6
6
7
- #include " ../wallet/wallet.h"
8
7
#include " amount.h"
9
8
#include " chain.h"
10
- #include " librustzcash.h"
11
9
#include " streams.h"
12
10
#include " txdb.h"
13
11
#include " validation.h"
Original file line number Diff line number Diff line change 7
7
8
8
#include " optional.h"
9
9
#include " consensus/params.h"
10
- #include " librustzcash.h"
11
10
#include " primitives/transaction.h"
12
11
#include " sapling/saplingscriptpubkeyman.h"
13
12
#include " sapling/zip32.h"
@@ -2752,6 +2751,7 @@ bool CWallet::StakeableUTXOs(std::vector<CStakeableOutput>* stakeableCoins) cons
2752
2751
bool CWallet::StakeableNotes (std::vector<CStakeableShieldNote>* shieldNotes) const
2753
2752
{
2754
2753
if (Params ().GetConsensus ().NetworkUpgradeActive (this ->GetLastBlockHeight (), Consensus::UPGRADE_SHIELD_STAKING)) {
2754
+ LOCK (cs_wallet);
2755
2755
return m_sspk_man->GetStakeableNotes (shieldNotes, Params ().GetConsensus ().nStakeMinDepth );
2756
2756
}
2757
2757
return false ;
You can’t perform that action at this time.
0 commit comments