This PR introduces a quick bug fix to the Injective connector in the client. The bug can be observed when a call to Gateway to submit an order fails by throwing an exception. This failure will not be caught by the injective API data source class and the order hash manager nonce will not be updated. This, in turn, can cause subsequent orders to be submitted with erroneous locally computed order hashes, in turn causing orphaned orders on the injective exchange.
The PR adds a try-catch clause around the Gateway order submission, that resets the order hash manager if an exception is thrown by Gateway.
Link to the PR: https://github.com/hummingbot/hummingbot/pull/6124