pybitcash / bitcash

BitCash: Python Bitcoin Cash Library (fork of ofek's Bit)
https://bitcash.dev
MIT License
97 stars 39 forks source link

wallet balance not accurate #123

Closed joelinzy closed 1 year ago

joelinzy commented 1 year ago

wallet balance not accurate.

seems to be from dependency on this service for the utxo information: https://rest.bch.actorforth.org/v2/address/utxo

and the service is not showing accurate information (not synced).

here is an example: https://blockchair.com/bitcoin-cash/outputs?q=recipient(qzxtfemsxz2qt4av3zj85qgtqa0vpd9sruqf99t9r3),is_spent(false)#

shows 4 utxos

https://rest.bch.actorforth.org/v2/address/utxo/qzxtfemsxz2qt4av3zj85qgtqa0vpd9sruqf99t9r3

shows 1 utxo.

see screenshots:

Screenshot 2023-05-18 at 21 39 18 Screenshot 2023-05-18 at 21 39 53
merc1er commented 1 year ago

This should now be fixed.

https://rest.bch.actorforth.org/v2/address/utxo/qzxtfemsxz2qt4av3zj85qgtqa0vpd9sruqf99t9r3 now shows 4 UTXOs