Skip to content
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

Wallet transaction fix #96

Merged
merged 3 commits into from
Nov 8, 2024
Merged

Conversation

panleone
Copy link
Member

@panleone panleone commented Nov 7, 2024

Correctly mark which transactions belong to the wallet.

@panleone panleone added the bug Something isn't working label Nov 7, 2024
@panleone panleone requested a review from Duddino November 7, 2024 17:22
@panleone panleone self-assigned this Nov 7, 2024
let mut buff = Vec::new();
tree.write(&mut buff)
.map_err(|_| "Cannot write tree to buffer")?;

Ok(serde_wasm_bindgen::to_value(&JSTxSaplingData {
decrypted_notes: ser_comp_note,
nullifiers: ser_nullifiers,
nullifiers,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for a future PR we can avoid returning nullifiers and remove the spent notes directly in the handle_blocks

Copy link
Member

@Duddino Duddino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tAKC

@Duddino Duddino merged commit 471eeb7 into PIVX-Labs:master Nov 8, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants