[#wallet-WalletRescanReserver-setNow]
= xref:wallet.adoc[wallet]::xref:wallet/WalletRescanReserver.adoc[WalletRescanReserver]::setNow
:relfileprefix: ../../
:mrdocs:

Override the clock used by now(), for testing&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
setNow(xref:wallet/WalletRescanReserver.adoc[NowFn] now);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *now*
| The clock function to use&period;
|===


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