Fixes performance issue with txproposals

Avoid getting addresses from scripts (that's an expensive computation)
(in other words, I wouldn't like to have the behaviour of `addressIsOwn` depend on this assumption)