Bad anchor issue when sending from Ywallet

When sending I has this error

16 bad-tnx-orchard-unknown-anchor

It happened on iOS as I detail in this issue [iOS] unable to send. error 16 bad-tnx-orchard-unknown-anchor · Issue #95 · hhanh00/zwallet · GitHub

But this seems to be a transaction builder problem, are other users having this issue in other platforms?

1 Like

Thanks for the bug report. I need to investigate the root cause. For the moment, you could try rewinding to a previous checkpoint (under the advanced menu).

Sure! I didn’t want to do it without reporting the issue and getting some feedback from you first just in case there was some debug stuff that would be lost

I confirm that rescanning fixes the issue, but this should be looked into.

probably the wallet didn’t account for a reorg or a note spent with another wallet. I have this same keys in many wallets since it’s a test wallet (on mainnet, kids don’t try this at home :sweat_smile:)

I replied the above test over github as well

1 Like

You are more than welcome to look into the matter :). As a matter of fact, that would be a real test for a job of a wallet community developer :grin:

2 Likes

The regtest datasets of darksidewalletd would be the perfect thing to exercise that! :mechanical_arm:

2 Likes

Agreed but no one has volunteered or is funded to do this work. Afaik, there is no standard regression test suite for zcash wallets.

2 Likes

Agree!

Even though we share the same synthetic blockchain dataset every sync algorithm will have its nuances and expectations to meet.

1 Like

I’ll reply there

1 Like