mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-26 19:23:26 -03:00
CWalletTx::GetAmounts(): pass NULL for CKeyStore*, rather than false
to fix warning.
This commit is contained in:
parent
a6b2115963
commit
aa0c5e87e8
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ void CWalletTx::GetAmounts(int64& nGeneratedImmature, int64& nGeneratedMature, l
|
||||||
vector<unsigned char> vchPubKey;
|
vector<unsigned char> vchPubKey;
|
||||||
if (ExtractHash160(txout.scriptPubKey, hash160))
|
if (ExtractHash160(txout.scriptPubKey, hash160))
|
||||||
address = Hash160ToAddress(hash160);
|
address = Hash160ToAddress(hash160);
|
||||||
else if (ExtractPubKey(txout.scriptPubKey, false, vchPubKey))
|
else if (ExtractPubKey(txout.scriptPubKey, NULL, vchPubKey))
|
||||||
address = PubKeyToAddress(vchPubKey);
|
address = PubKeyToAddress(vchPubKey);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue