Don't take the origin in `can_set_code`
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.
parent
eec7d713
Please register or sign in to comment