diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 75634c48c..070badbd1 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -2375,7 +2375,7 @@ bool CWallet::SelectCoins(const CAmount& nTargetValue, setvout[out.i].nValue; - nValueRet += komodo_interest(out.tx->vout[out.i].nValue,out.tx.nLockTime,chainActive.Tip()->nTime); + nValueRet += komodo_interest(out.tx->vout[out.i].nValue,out.tx->nLockTime,chainActive.Tip()->nTime); setCoinsRet.insert(make_pair(out.tx, out.i)); } return (nValueRet >= nTargetValue);