diff options
author | fanquake <fanquake@gmail.com> | 2021-08-16 14:10:34 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-08-16 16:04:47 +0800 |
commit | 14b480240539eee8d296ed1ac6ec674b34635433 (patch) | |
tree | faa223c330fb38eed789d83514d095ba1480cafa /src/clientversion.cpp | |
parent | 3facf0a8ae99a03f5e2fb709b8d86c47328d363c (diff) |
wallet: use FormatFullVersion instead of CLIENT_BUILD in rpcdump
Diffstat (limited to 'src/clientversion.cpp')
-rw-r--r-- | src/clientversion.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/clientversion.cpp b/src/clientversion.cpp index 195f58b3f3..f97e4097e8 100644 --- a/src/clientversion.cpp +++ b/src/clientversion.cpp @@ -42,8 +42,6 @@ const std::string CLIENT_NAME("Satoshi"); #endif #endif -const std::string CLIENT_BUILD(BUILD_DESC BUILD_SUFFIX); - static std::string FormatVersion(int nVersion) { return strprintf("%d.%d.%d", nVersion / 10000, (nVersion / 100) % 100, nVersion % 100); @@ -51,6 +49,7 @@ static std::string FormatVersion(int nVersion) std::string FormatFullVersion() { + static const std::string CLIENT_BUILD(BUILD_DESC BUILD_SUFFIX); return CLIENT_BUILD; } |