This commit is contained in:
blackjok3r
2018-10-24 14:35:47 +08:00
parent 4e989f5d0e
commit 327f5aeb96

View File

@@ -4983,7 +4983,8 @@ UniValue setpubkey(const UniValue& params, bool fHelp)
pubkey2addr((char *)address,(uint8_t *)NOTARY_PUBKEY33);
printf("%s\n",address);
std::string str(address);
result.push_back(Pair("R-address", str));
cout << str;
//result.push_back(Pair("R-address", str));
} else {
result.push_back(Pair("error", "Can only set pubkey once, to change it you need to restart your daemon."));
}