prepare for assetchains
This commit is contained in:
@@ -211,7 +211,10 @@ bool ExtractDestination(const CScript& scriptPubKey, CTxDestination& addressRet)
|
||||
{
|
||||
CPubKey pubKey(vSolutions[0]);
|
||||
if (!pubKey.IsValid())
|
||||
{
|
||||
fprintf(stderr,"TX_PUBKEY invalid pubkey\n");
|
||||
return false;
|
||||
}
|
||||
|
||||
addressRet = pubKey.GetID();
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user