Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix exception handling
  • Loading branch information
otselnik committed Sep 30, 2021
commit 9aef0d744b4a1c92918e8349498669c96150d0b3
6 changes: 4 additions & 2 deletions proxy/plugin/solana_rest_api_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,8 @@ def call_continue_bucked(signer, client, perm_accs, trx_accs, steps):
except Exception as err:
if str(err).startswith("Transaction simulation failed: Error processing Instruction 0: custom program error: 0x1"):
pass
raise
else:
raise

logger.debug("Collect bucked results:")
for trx in result_list:
Expand Down Expand Up @@ -507,7 +508,8 @@ def call_continue_bucked_0x0d(signer, client, perm_accs, trx_accs, steps, msg):
except Exception as err:
if str(err).startswith("Transaction simulation failed: Error processing Instruction 0: custom program error: 0x1"):
pass
raise
else:
raise

logger.debug("Collect bucked results:")
for trx in result_list:
Expand Down