Update to enable using a single node with musigtest.py script. Fix crash in nonce step.

This commit is contained in:
blackjok3r
2019-02-25 17:12:25 +08:00
parent 735b082aec
commit e8a36b8982
3 changed files with 282 additions and 46 deletions

View File

@@ -5308,7 +5308,7 @@ UniValue setpubkey(const UniValue& params, bool fHelp)
char Raddress[64];
uint8_t pubkey33[33];
if ( NOTARY_PUBKEY33[0] == 0 )
if ( NOTARY_PUBKEY33[0] == 0 || (strcmp(ASSETCHAINS_SYMBOL, "MUSIG") == 0) )
{
if (strlen(params[0].get_str().c_str()) == 66)
{