1
0
Fork 0
forked from lthn/blockchain

wallet: an attempt to fix #47

This commit is contained in:
sowle 2019-10-24 09:40:02 +03:00
parent 7c5202dcab
commit b9335fefc8
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -2242,6 +2242,9 @@ uint64_t wallet2::balance(uint64_t& unlocked, uint64_t& awaiting_in, uint64_t& a
for(auto& utx : m_unconfirmed_txs)
{
if (utx.second.contract.size())
continue; // skip unconfirmed contract tx
if (utx.second.is_income)
{
balance_total += utx.second.amount;