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

chore: remove SplitRecordError during get #2286

Open
RolandSherwin opened this issue Oct 22, 2024 · 0 comments
Open

chore: remove SplitRecordError during get #2286

RolandSherwin opened this issue Oct 22, 2024 · 0 comments

Comments

@RolandSherwin
Copy link
Member

  • in case of a split spend, they are collected and if it is a double spend we return NetworkError::DoubleSpendAttempt
  • in case of a split register, they are verified, merged and returned as a record.

so we don't have to expose the SplitRecordError from sn_networking. Use a private error enum to handle the low level errors and make the public error enum clean.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant