File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff line change 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
27522751bool 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 ;
You can’t perform that action at this time.
0 commit comments