account for any size input in tx creation
Merge pull request #1150 from achamely/master

Account for any size input in tx creation