mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-21 07:39:08 +01:00
refactor: Use TranslateFn type consistently
The type was introduced in the previous commit.
This commit is contained in:
@@ -50,7 +50,7 @@ using util::ToString;
|
||||
// just use a plain system_clock.
|
||||
using CliClock = std::chrono::system_clock;
|
||||
|
||||
const std::function<std::string(const char*)> G_TRANSLATION_FUN = nullptr;
|
||||
const TranslateFn G_TRANSLATION_FUN{nullptr};
|
||||
|
||||
static const char DEFAULT_RPCCONNECT[] = "127.0.0.1";
|
||||
static const int DEFAULT_HTTP_CLIENT_TIMEOUT=900;
|
||||
|
||||
Reference in New Issue
Block a user