diff options
Diffstat (limited to 'src/rpcserver.h')
-rw-r--r-- | src/rpcserver.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpcserver.h b/src/rpcserver.h index ac821d5b55..83cc37918b 100644 --- a/src/rpcserver.h +++ b/src/rpcserver.h @@ -92,12 +92,12 @@ public: /** Implementation name */ virtual const char *Name() = 0; /** Factory function for timers. - * RPC will call the function to create a timer that will call func in *seconds* seconds. + * RPC will call the function to create a timer that will call func in *millis* milliseconds. * @note As the RPC mechanism is backend-neutral, it can use different implementations of timers. * This is needed to cope with the case in which there is no HTTP server, but * only GUI RPC console, and to break the dependency of pcserver on httprpc. */ - virtual RPCTimerBase* NewTimer(boost::function<void(void)>&, int64_t) = 0; + virtual RPCTimerBase* NewTimer(boost::function<void(void)>& func, int64_t millis) = 0; }; /** Register factory function for timers */ |