This commit is contained in:
blackjok3r
2018-11-02 08:24:55 +08:00
parent 4bce36c1ad
commit 05b2d67fc4

View File

@@ -1215,7 +1215,7 @@ bool CWallet::AddToWalletIfInvolvingMe(const CTransaction& tx, const CBlock* pbl
uint256 hashBlock;
GetTransaction(tx.vin[0].prevout.hash,txin,hashBlock,false);
fprintf(stderr, "vin 0 script pubkey : %s\n",txin.vout[0].scriptPubKey);
fprintf(stderr, "vin 0 script pubkey : %s\n",txin.vout[0].scriptPubKey.ToString().c_str());
CTxDestination address;
ExtractDestination(txin.vout[0].scriptPubKey, address)