Fixed an integer overflow bug in BlockTemplateTransaction.cs.
Fixes #341
Fixes #443
Merge pull request #465 from raistlinthewiz/develop

Fixed an integer overflow bug in BlockTemplateTransaction.cs.