diff --git a/src/wallet.cpp b/src/wallet.cpp index aef8d180e..7a65b2a57 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -274,7 +274,7 @@ void CWalletTx::GetAmounts(int64& nGeneratedImmature, int64& nGeneratedMature, l vector vchPubKey; if (ExtractHash160(txout.scriptPubKey, hash160)) address = Hash160ToAddress(hash160); - else if (ExtractPubKey(txout.scriptPubKey, false, vchPubKey)) + else if (ExtractPubKey(txout.scriptPubKey, NULL, vchPubKey)) address = PubKeyToAddress(vchPubKey); else {