[#wallet-DescriptorScriptPubKeyMan-ReturnDestination] = xref:wallet.adoc[wallet]::xref:wallet/DescriptorScriptPubKeyMan.adoc[DescriptorScriptPubKeyMan]::ReturnDestination :relfileprefix: ../../ :mrdocs: Returns a previously reserved destination to the cache for reuse. == Synopsis Declared in `<wallet/scriptpubkeyman.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual void ReturnDestination( int64_t index, bool internal, xref:CTxDestination.adoc[CTxDestination] const& addr) override; ---- == Parameters [cols="1,4"] |=== | Name| Description | *index* | The cache index of the reserved destination. | *internal* | Whether the destination belongs to the internal (change) chain. | *addr* | The destination being returned. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#