mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
refactor: Use TranslateFn type consistently
The type was introduced in the previous commit.
This commit is contained in:
parent
eeee6cf2ff
commit
fa1d5acb8d
8 changed files with 9 additions and 8 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue