mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-03 22:53:19 +02:00
wallet: Wallets without private keys cannot grind R
This commit is contained in:
@@ -4038,7 +4038,7 @@ util::Result<void> CWallet::ApplyMigrationData(WalletBatch& local_wallet_batch,
|
|||||||
|
|
||||||
bool CWallet::CanGrindR() const
|
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)
|
bool DoMigration(CWallet& wallet, WalletContext& context, bilingual_str& error, MigrationResult& res) EXCLUSIVE_LOCKS_REQUIRED(wallet.cs_wallet)
|
||||||
|
Reference in New Issue
Block a user