adityapk00 / zecwallet-light-cli

Zecwallet Lightclient Library and CLI interface
MIT License
69 stars 66 forks source link

Getting "Sapling Tree Verification Failed" on testnet #81

Open hammdist opened 3 years ago

hammdist commented 3 years ago
Lightclient connecting to http://127.0.0.1:9067/
id: 1, blocks: 20%, decryptions: 20%, tx_scan: 0%
id: 1, blocks: 33%, decryptions: 33%, tx_scan: 0%
id: 1, blocks: 33%, decryptions: 33%, tx_scan: 0%
id: 1, blocks: 43%, decryptions: 44%, tx_scan: 33%
id: 1, blocks: 63%, decryptions: 64%, tx_scan: 33%
id: 1, blocks: 94%, decryptions: 96%, tx_scan: 66%
Sapling Tree Verification Failed
Ready!
0K(test) Block:1279999 (type 'help') >>

I'm not sure what's causing this. I've tried restarting and clearing out lightwalletd's data directory a number of times. I also tried running on a separate computer; same issue.

Here is the seed phrase for the testnet wallet that runs into this issue:

"scatter wing skill excuse foot rabbit oil divert claim guitar near east parrot hammer sock panel lounge agent cannon valid prepare salt family quality"
hammdist commented 3 years ago

To provide a bit of further detail, here is the command I was running:

zecwallet-cli --server http://127.0.0.1:9067 --seed "scatter wing skill excuse foot rabbit oil divert claim guitar near east parrot hammer sock panel lounge agent cannon valid prepare salt family quality" --birthday 0

127.0.0.1:9067 is a instance of the stock lightwalletd.

I've since tried with other wallet seeds and it seems to always fail when there is a shielded balance in the wallet. I can't get the faucet to work for t addresses so I don't know if unshielded balance affects things but I would imagine not.