mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Merge 93e38d5c06 into merged_master (Bitcoin PR bitcoin/bitcoin#22173)
This commit is contained in:
commit
0fe87c64ad
1 changed files with 7 additions and 0 deletions
|
|
@ -789,6 +789,13 @@ DBErrors WalletBatch::LoadWallet(CWallet* pwallet)
|
|||
}
|
||||
}
|
||||
|
||||
#ifndef ENABLE_EXTERNAL_SIGNER
|
||||
if (pwallet->IsWalletFlagSet(WALLET_FLAG_EXTERNAL_SIGNER)) {
|
||||
pwallet->WalletLogPrintf("Error: External signer wallet being loaded without external signer support compiled\n");
|
||||
return DBErrors::TOO_NEW;
|
||||
}
|
||||
#endif
|
||||
|
||||
// Get cursor
|
||||
if (!m_batch->StartCursor())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue