Skip to content

Commit 072d506

Browse files
committed
wallet: Make sure that the descriptors flag is set for blank wallets
1 parent 5b8c597 commit 072d506

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/wallet/wallet.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4257,6 +4257,9 @@ util::Result<MigrationResult> MigrateLegacyToDescriptor(const std::string& walle
42574257
success = local_wallet->IsWalletFlagSet(WALLET_FLAG_BLANK_WALLET);
42584258
if (!success) {
42594259
success = DoMigration(*local_wallet, context, error, res);
4260+
} else {
4261+
// Make sure that descriptors flag is actually set
4262+
local_wallet->SetWalletFlag(WALLET_FLAG_DESCRIPTORS);
42604263
}
42614264
}
42624265

0 commit comments

Comments
 (0)