diff options
| author | Andrew Chow <[email protected]> | 2020-10-29 17:52:50 -0400 |
|---|---|---|
| committer | Andrew Chow <[email protected]> | 2020-10-29 17:55:13 -0400 |
| commit | bd93fc9945bfd4be117990c5d861f61ddd451f96 (patch) | |
| tree | 28fb70605d9973e1be108de0d4ee22c26d566df7 /src/wallet/rpcdump.cpp | |
| parent | Merge #20186: wallet: Make -wallet setting not create wallets (diff) | |
| download | discoin-bd93fc9945bfd4be117990c5d861f61ddd451f96.tar.xz discoin-bd93fc9945bfd4be117990c5d861f61ddd451f96.zip | |
Fix change detection of imported internal descriptors
Diffstat (limited to 'src/wallet/rpcdump.cpp')
| -rw-r--r-- | src/wallet/rpcdump.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpcdump.cpp b/src/wallet/rpcdump.cpp index 884ab5849..17bdc06c7 100644 --- a/src/wallet/rpcdump.cpp +++ b/src/wallet/rpcdump.cpp @@ -1559,7 +1559,7 @@ static UniValue ProcessDescriptorImport(CWallet * const pwallet, const UniValue& } // Add descriptor to the wallet - auto spk_manager = pwallet->AddWalletDescriptor(w_desc, keys, label); + auto spk_manager = pwallet->AddWalletDescriptor(w_desc, keys, label, internal); if (spk_manager == nullptr) { throw JSONRPCError(RPC_WALLET_ERROR, strprintf("Could not add descriptor '%s'", descriptor)); } |