prepare for assetchains

This commit is contained in:
jl777
2016-10-25 10:11:37 -03:00
parent beafd76b02
commit b62d7030ef
7 changed files with 70 additions and 43 deletions

View File

@@ -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;