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
Remove some unnecessary Arcs in our sync bump_transaction logic
Because LDK generally relies on traits passed via `Deref`, its
tempting to just wrap implementations in `Arc` even when we don't
otherwise need access to the implementation later. This does result
in an unnecessary allocation, which is one-time and not a huge deal
but irritates my OCD substantially.
Here we drop the unnecessary `Arc` indirections in favor of simply
implementing `Deref` directly on the sync wrappers used in
`bump_transaction`.
0 commit comments