Unverified Commit 00791403 authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Don't take the origin in `can_set_code` (#6899)

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