• Bastian Köcher's avatar
    Don't take the origin in `can_set_code` (#6899) · 0120339c
    Bastian Köcher authored
    It makes no sense that `can_set_code` takes the origin for checking it.
    Everybody reusing this function is only interested in the other checks
    that are done by this function. The origin should be checked by every
    dispatchable individually.
    0120339c