Skip to content

Commit

Permalink
Fixed a function call
Browse files Browse the repository at this point in the history
  • Loading branch information
mxaddict committed Nov 20, 2019
1 parent b2eb50a commit 0fe4ec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/rpcwallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3186,7 +3186,7 @@ bool IsTxCountedAsStaked(const CWalletTx* tx)
LOCK(cs_main);

// orphan block or immature
if ((!tx->GetDepthInMainChain()) || (tx->GetBlocksToMaturity() > 0) || !IsInMainChain())
if ((!tx->GetDepthInMainChain()) || (tx->GetBlocksToMaturity() > 0) || !tx->IsInMainChain())
return false;

// abandoned transactions
Expand Down

0 comments on commit 0fe4ec2

Please sign in to comment.