Skip to content
Commit c2a44cf3 authored by Bastian Köcher's avatar Bastian Köcher
Browse files

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
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