This commit is contained in:
blackjok3r
2018-11-02 13:33:31 +08:00
parent 0e848a2fd4
commit 2e750b76da

View File

@@ -1487,8 +1487,8 @@ int32_t komodo_whoami(char *pubkeystr,int32_t height,uint32_t timestamp)
pubkeystr[66] = 0;
char Raddress[18];
pubkey2addr((char *)Raddress,(uint8_t *)NOTARY_PUBKEY33);
CBitcoinAddress address(Raddress);
NOTARY_ADDRESS = address.ToString();
//CBitcoinAddress address(Raddress);
NOTARY_ADDRESS.assign(Raddress);
komodo_chosennotary(&notaryid,height,NOTARY_PUBKEY33,timestamp);
return(notaryid);
}