changed algo N & K to equihash N & K

This commit is contained in:
jahway603
2022-07-12 17:19:00 -04:00
parent 4768d302fd
commit f55b77f652

View File

@@ -351,11 +351,11 @@ UniValue getinfo(const UniValue& params, bool fHelp, const CPubKey& mypk)
{ {
obj.push_back(Pair("algo", ASSETCHAINS_ALGORITHMS[ASSETCHAINS_ALGO])); obj.push_back(Pair("algo", ASSETCHAINS_ALGORITHMS[ASSETCHAINS_ALGO]));
if ( ASSETCHAINS_NK[0] == 0 ) // display default for Hush if ( ASSETCHAINS_NK[0] == 0 ) // display default for Hush
obj.push_back(Pair("algo N",200)); obj.push_back(Pair("equihash N", 200));
else obj.push_back(Pair("algo N",ASSETCHAINS_NK[0])); else obj.push_back(Pair("equihash N", ASSETCHAINS_NK[0]));
if ( ASSETCHAINS_NK[1] == 0 ) // display default for Hush if ( ASSETCHAINS_NK[1] == 0 ) // display default for Hush
obj.push_back(Pair("algo K",9)); obj.push_back(Pair("equihash K", 9));
else obj.push_back(Pair("algo K",ASSETCHAINS_NK[1])); else obj.push_back(Pair("equihash K", ASSETCHAINS_NK[1]));
} }
else obj.push_back(Pair("algo", ASSETCHAINS_ALGORITHMS[ASSETCHAINS_ALGO])); else obj.push_back(Pair("algo", ASSETCHAINS_ALGORITHMS[ASSETCHAINS_ALGO]));
} }