Use tx hash string instead of Sha256Hash as a key for the pending transactions