Merge pull request #137 from jl777/FSM

Fix setpubkey crash
This commit is contained in:
ca333
2019-02-18 16:36:46 +01:00
committed by GitHub

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) {