maidsafe / safe_network

72 stars 40 forks source link

fix(node): terminate make_payment process during unrecoverable error #2023

Closed maqi closed 1 month ago

maqi commented 1 month ago

Description

This is aim to avoid corrupt the wallet when hit the unrecoverable error, the main upload process will forcefuly terminate the entire thread, but the child make_payment process might continue with the wallet processing that go to the next descendant spend. Which actually causing un-recoverable DAG that observed in some of the uploaders.

Related Issue

Fixes # (if applicable).

Type of Change

Please mark the types of changes made in this pull request.