-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zcash_client_sqlite: v_tx_outputs
describes one of two tx outputs as not from the account
#1330
Comments
Not fixing this for Zashi 1.0; manually created "send to self" transactions (i.e. not using the |
I just tested this with current Note that in my database, both rows have |
@AArnott I believe that this is now fixed; please reopen if this still occurs after upgrading to zcash_client_sqlite 0.11 |
It could be. But I wonder whether the difference would be due to a bug in my code or because I call into LRZ differently than your client does. |
Sure, that'd be great. |
One thing I notice when running this with I believe that you have access to this repository; it might be worth looking at how your transaction download and transaction graph traversal code compares to https://github.com/Electric-Coin-Company/zec-sqlite-cli/blob/main/src/commands/enhance.rs#L107-L190 |
My MainNet test account with UFVK:
Birthday height: 2,224,314
txid: e1565f350459b9a048c93454e3f370bc945133ed80658ea238f73c26647ad41e
block height: 2420013
Note how of the top two rows below, which belong to the same transaction, exactly one of the rows has a
from_account_id
of 1 while the other is NULL, despite belonging to the same transaction:The transaction in question effectively unshielded funds within the same account. The shielded 'change' was correctly attributed with
from_account_id
of 1, while the unshielded output was not, making it look like novel income.The text was updated successfully, but these errors were encountered: