[#wallet-WalletBatch-EraseActiveScriptPubKeyMan]
= xref:wallet.adoc[wallet]::xref:wallet/WalletBatch.adoc[WalletBatch]::EraseActiveScriptPubKeyMan
:relfileprefix: ../../
:mrdocs:

Removes the active ScriptPubKeyMan record for a key type&period;

== Synopsis

Declared in `&lt;wallet&sol;walletdb&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
EraseActiveScriptPubKeyMan(
    uint8&lowbar;t type,
    bool internal);
----

== Return Value

true if the record was erased&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *type*
| The output type&period;
| *internal*
| Whether this is the internal (change) ScriptPubKeyMan&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
