monero-ecosystem / monero-python

A comprehensive Python module for handling Monero cryptocurrency
BSD 3-Clause "New" or "Revised" License
247 stars 80 forks source link

Wallet.address_balance includes mempool transactions #141

Open v1rbox opened 9 months ago

v1rbox commented 9 months ago

From reading this section it seems like monero-python uses only "balance" returned by JSON RPC, and not "unlocked_balance", when we are dealing with query the balance of multiple subaddresses. This leads to including non-confirmed transactions into the balance. Should it have an "unlocked=True" argument? I can send a PR if yes.