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
It may be more natural to return None instead of Err if the transaction wasn't found similarly to how HashMap returns None instead of Err. This is loosely related to romanz/electrs#446 (comment) - the case when transaction is not found may not be exactly erroneous and may need special handling more often than other errors.
The text was updated successfully, but these errors were encountered:
It may be more natural to return
None
instead ofErr
if the transaction wasn't found similarly to howHashMap
returnsNone
instead ofErr
. This is loosely related to romanz/electrs#446 (comment) - the case when transaction is not found may not be exactly erroneous and may need special handling more often than other errors.The text was updated successfully, but these errors were encountered: