Bug fix for #199

Proper way of counting confirmed transactions is : Height of longest chain - Height of chain for the block containing the transaction + 1
Merge pull request #202 from devlo/master

Bug fix for #199