Commit 8508c0ed authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Do not run `forced_canonicalization` for archive nodes (#13051)

We don't canonicalize on archive nodes and thus `best_canonical` always returned `None`. So, the
moment such a node tried to force canonicalize, it was trapped in some endless loop.

This pr solves this by renaming `best_canonical` to `last_canonicalized` and also making the return
value more clear by introducing a custom enum `LastCanonicalized`.
parent 1db2dc5b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment