Adjust deprecation message to work in both UI and -alertnotify

This commit is contained in:
Jack Grigg
2018-04-03 12:17:30 +01:00
parent 7b4d0c7762
commit 6c44424322
2 changed files with 5 additions and 5 deletions

View File

@@ -150,7 +150,7 @@ TEST_F(DeprecationTest, AlertNotify) {
// -alertnotify restricts the message to safe characters.
auto expectedMsg = strprintf(
"This version will be deprecated at block height %d, and will automatically shut down. You should upgrade to the latest version of Zcash. To disable deprecation for this version, set disabledeprecation%s.",
"This version will be deprecated at block height %d, and will automatically shut down. You should upgrade to the latest version of Zcash. To disable deprecation for this version, set disabledeprecation to %s.",
DEPRECATION_HEIGHT,
CLIENT_VERSION_STR);