ava-labs / avalanchego

Go implementation of an Avalanche node.
https://avax.network
BSD 3-Clause "New" or "Revised" License
2.09k stars 646 forks source link

[chains/atomic] Remove a nested if statement #3135

Closed dhrubabasu closed 1 week ago

dhrubabasu commented 1 week ago

Why this should be merged

Readability

How this works

Move nested if down

How this was tested

Existing UTs