wallet: Wallets without private keys cannot grind R
This commit is contained in:
1 parent
9991f49c38
commit
d20dc9c6aa
1 file changed
+1
-1
@@ -4038,7 +4038,7 @@ util::Result<void> CWallet::ApplyMigrationData(WalletBatch& local_wallet_batch,
|
||||
|
||||
bool CWallet::CanGrindR() const
|
||||
{
|
||||
return !IsWalletFlagSet(WALLET_FLAG_EXTERNAL_SIGNER);
|
||||
return !IsWalletFlagSet(WALLET_FLAG_DISABLE_PRIVATE_KEYS);
|
||||
}
|
||||
|
||||
bool DoMigration(CWallet& wallet, WalletContext& context, bilingual_str& error, MigrationResult& res) EXCLUSIVE_LOCKS_REQUIRED(wallet.cs_wallet)
|
||||
|
||||
Reference in new issue
Block a user