Skip to content

Commit 0f4fbb4

Browse files
committed
GH-1095 Allow interrupted transaction to be retried
1 parent 1a50b7b commit 0f4fbb4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugins/producer_plugin/producer_plugin.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ bool exception_is_exhausted(const fc::exception& e) {
9393
return (code == block_cpu_usage_exceeded::code_value) ||
9494
(code == block_net_usage_exceeded::code_value) ||
9595
(code == deadline_exception::code_value) ||
96+
(code == interrupt_exception::code_value) || // allow interrupted trxs to be retried
9697
(code == ro_trx_vm_oc_compile_temporary_failure::code_value);
9798
}
9899
} // namespace

0 commit comments

Comments
 (0)