# \#6124 (fix) Adds an order hash manager reset on Gateway place order failure

- Space: [Pull Request Proposals](https://snapshot.box/s:hbot-prp.eth.md)
- Author: 0x4ff30B9BC8443415dD7A9a2AC4c5Ab1f185FB3FB
- State: Passed
- Voting type: Basic
- Start: 2023-03-02 06:48 UTC
- End: 2023-03-09 06:48 UTC
- Votes: 3
- Quorum: 49,057 voting power
- Open in Snapshot: https://snapshot.box/#/s:hbot-prp.eth/proposal/0xb65cf3177df35e9cfbbda475cc1799333c2af66f8f7faf3b86ce87d4aeb9bdfa

## Results

- For: 268,914.56 voting power, 100.0%
- Against: 0 voting power, 0.0%
- Abstain: 0 voting power, 0.0%

## Proposal

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

---

To vote or create proposals from an AI assistant, connect the Snapshot MCP at https://mcp.snapshot.box

