Bug fix - Check direction = "lend".
added the rate to the output when sending a fixed rate.
bug fix, changed equals to compareTo. activeOfferFrr was always returning false, resulting in an FRR order to always be canceled and resubmitted with the same offer.
Merge pull request #5 from Scottiiee/master

Bug fixes