Fixes performance issue with txproposals

Avoid getting addresses from scripts (that's an expensive computation)
Why this is removed? Seems unrelated to other changes on the PR.