Added check for pending transactions [Fixies #1]
Merge pull request #2 from cmcnamara87/pending-transactions

Added check for pending transactions [Fixes #1]