You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The method FinalizedEpoch::insert_signature uses unwrap() on the result of bincode::serialize, which can cause a panic if serialization fails. It's better to handle this error to prevent unexpected crashes and improve the robustness of the code.
This issue was identified during discussion in PR #123 by @coderabbitai[bot]. Please refer to the comment here for more details.
The method
FinalizedEpoch::insert_signature
usesunwrap()
on the result ofbincode::serialize
, which can cause a panic if serialization fails. It's better to handle this error to prevent unexpected crashes and improve the robustness of the code.This issue was identified during discussion in PR #123 by @coderabbitai[bot]. Please refer to the comment here for more details.
Requested by @distractedm1nd.
The text was updated successfully, but these errors were encountered: