fix?
This commit is contained in:
@@ -4982,7 +4982,8 @@ UniValue setpubkey(const UniValue& params, bool fHelp)
|
|||||||
decode_hex(NOTARY_PUBKEY33,33,(char *)NOTARY_PUBKEY.c_str());
|
decode_hex(NOTARY_PUBKEY33,33,(char *)NOTARY_PUBKEY.c_str());
|
||||||
pubkey2addr((char *)address,(uint8_t *)NOTARY_PUBKEY33);
|
pubkey2addr((char *)address,(uint8_t *)NOTARY_PUBKEY33);
|
||||||
printf("%s\n",address);
|
printf("%s\n",address);
|
||||||
result.push_back(Pair("R-address", address));
|
std::string str(address);
|
||||||
|
result.push_back(Pair("R-address", str));
|
||||||
} else {
|
} else {
|
||||||
result.push_back(Pair("error", "Can only set pubkey once, to change it you need to restart your daemon."));
|
result.push_back(Pair("error", "Can only set pubkey once, to change it you need to restart your daemon."));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user