wallet: use PACKAGE_NAME instead of "Bitcoin" in rpcdump

This commit is contained in:
fanquake 2021-08-16 14:16:03 +08:00
parent 14b4802405
commit 2d7534bd93
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -784,7 +784,7 @@ RPCHelpMan dumpwallet()
std::sort(vKeyBirth.begin(), vKeyBirth.end());
// produce output
file << strprintf("# Wallet dump created by Bitcoin %s\n", FormatFullVersion());
file << strprintf("# Wallet dump created by %s %s\n", PACKAGE_NAME, FormatFullVersion());
file << strprintf("# * Created on %s\n", FormatISO8601DateTime(GetTime()));
file << strprintf("# * Best block at time of backup was %i (%s),\n", wallet.GetLastBlockHeight(), wallet.GetLastBlockHash().ToString());
file << strprintf("# mined on %s\n", FormatISO8601DateTime(block_time));