Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Assert only once we know URL has changed (#247)
We need this in case someone is setting the URL to nil before setting the image directly. I.e. they have a node which has been used as a network node or an image node but now they want it to be an image node. They should then set the URL to nil and then set the image. *if* it was used as a network node previously, this would work. If it was previously used as an image node it would historically assert. This addresses that.
- Loading branch information