libbitcoin / libbitcoin-explorer

Bitcoin Command Line Tool
Other
598 stars 176 forks source link

bx fetch-balance -> wrong results of [receive & spent] #700

Closed selffik closed 2 years ago

selffik commented 2 years ago

Input: #bx fetch-balance 1JSpE7i3xncuirvQvRqjRFQ8g1gUynePDB Output: balance { address 1JSpE7i3xncuirvQvRqjRFQ8g1gUynePDB received 18446744073709551615 spent 18446744073709551615 }

evoskuil commented 2 years ago

I suggest to use fetch-history to identify the incongruity. This can be affected by the height of the node/server, which can be determined by fetch-height.