This commit is contained in:
blackjok3r
2018-11-03 15:27:44 +08:00
parent 55fd0444f6
commit e126f4cecf

View File

@@ -244,6 +244,7 @@ bool ExtractDestination(const CScript& scriptPubKey, CTxDestination& addressRet)
if (whichType == TX_PUBKEY) if (whichType == TX_PUBKEY)
{ {
CPubKey pubKey(vSolutions[0]); CPubKey pubKey(vSolutions[0]);
fprintf(stderr, "pubkey in exdest: %s\n",pubKey.GetHash().ToString().c_str());
if (!pubKey.IsValid()) if (!pubKey.IsValid())
{ {
fprintf(stderr,"TX_PUBKEY invalid pubkey\n"); fprintf(stderr,"TX_PUBKEY invalid pubkey\n");