Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
backtrace: avoid duplicate backtrace objects.
This happened in my tal_dump(), and I couldn't see how we ended up with object having more than one "backtrace". Adding asserts that we never added a second backtrace didn't trigger. Finally I wondered if we were tal_steal() backtraces, and sure enough we do that blinding in one place: libwally wrapping. So fix that. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
- Loading branch information