Skip to content

Commit d20dc9c

Browse files
committed
wallet: Wallets without private keys cannot grind R
1 parent 9991f49 commit d20dc9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/wallet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4038,7 +4038,7 @@ util::Result<void> CWallet::ApplyMigrationData(WalletBatch& local_wallet_batch,
40384038

40394039
bool CWallet::CanGrindR() const
40404040
{
4041-
return !IsWalletFlagSet(WALLET_FLAG_EXTERNAL_SIGNER);
4041+
return !IsWalletFlagSet(WALLET_FLAG_DISABLE_PRIVATE_KEYS);
40424042
}
40434043

40444044
bool DoMigration(CWallet& wallet, WalletContext& context, bilingual_str& error, MigrationResult& res) EXCLUSIVE_LOCKS_REQUIRED(wallet.cs_wallet)

0 commit comments

Comments
 (0)