OpenBazaar / multiwallet

API based multi-cryptocurrency wallet
MIT License
75 stars 41 forks source link

ZEC balance calculation error #91

Closed cpacia closed 5 years ago

cpacia commented 5 years ago

ZEC is using util.CalcBalance for calculating the balance. However, the code to recursively check if the stxo is confirmed attempts to deserialize a transaction using the btc deserialization code and not the code for the new zcash format. This results in an error and Balance() method reporting that confirmed change is unconfirmed.