made wallet#sign synchronous
Merge pull request #1733 from isocolsky/sign

made wallet#sign synchronous