Fix setpubkey crash

This commit is contained in:
jl777
2019-02-18 04:01:14 -11:00
parent f5af7f465f
commit 25acb3c52c

View File

@@ -5306,7 +5306,7 @@ UniValue setpubkey(const UniValue& params, bool fHelp)
LOCK(cs_main);
#endif
char Raddress[18];
char Raddress[64];
uint8_t pubkey33[33];
if ( NOTARY_PUBKEY33[0] == 0 ) {
if (strlen(params[0].get_str().c_str()) == 66) {