mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-29 10:19:26 +02:00
wallet: use FormatFullVersion instead of CLIENT_BUILD in rpcdump
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user