We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d98a86 commit 66108f8Copy full SHA for 66108f8
1 file changed
lighter/signer_client.py
@@ -86,6 +86,10 @@ async def wrapper(self, *args, **kwargs):
86
if api_key_index == -1 and nonce == -1:
87
api_key_index, nonce = self.nonce_manager.next_nonce()
88
err = self.switch_api_key(api_key_index)
89
+ if "nonce" in kwargs:
90
+ del kwargs["nonce"]
91
+ if "api_key_index" in kwargs:
92
+ del kwargs["api_key_index"]
93
if err != None:
94
raise Exception(f"error switching api key: {err}")
95
0 commit comments