Litecoin: Copyright fuzzer
This commit is contained in:
parent
6ad27338b5
commit
aa4f5514d5
@ -1286,9 +1286,11 @@ std::string CopyrightHolders(const std::string& strPrefix)
|
||||
|
||||
// Make sure Bitcoin Core copyright is not removed by accident
|
||||
if (copyright_devs.find("Bitcoin Core") == std::string::npos) {
|
||||
std::string strYear = strPrefix;
|
||||
strYear.replace(strYear.find("2011"), sizeof("2011")-1, "2009");
|
||||
strCopyrightHolders += "\n" + strYear + "The Bitcoin Core developers";
|
||||
if (strPrefix.find("2011") != std::string::npos) {
|
||||
std::string strYear = strPrefix;
|
||||
strYear.replace(strYear.find("2011"), sizeof("2011")-1, "2009");
|
||||
strCopyrightHolders += "\n" + strYear + "The Bitcoin Core developers";
|
||||
}
|
||||
}
|
||||
return strCopyrightHolders;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user