From 6c39275c1cad8c1854be7e3b324082b01d151393 Mon Sep 17 00:00:00 2001 From: Lijun Wang <83639177+lijunwangs@users.noreply.github.com> Date: Wed, 18 Oct 2023 13:20:44 -0700 Subject: [PATCH] Support validator 1.17.2 --- src/postgres_client/postgres_client_transaction.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/postgres_client/postgres_client_transaction.rs b/src/postgres_client/postgres_client_transaction.rs index 1747050..7d6020b 100644 --- a/src/postgres_client/postgres_client_transaction.rs +++ b/src/postgres_client/postgres_client_transaction.rs @@ -410,7 +410,9 @@ impl From<&TransactionError> for DbTransactionErrorCode { } TransactionError::ResanitizationNeeded => Self::ResanitizationNeeded, TransactionError::UnbalancedTransaction => Self::UnbalancedTransaction, - TransactionError::ProgramExecutionTemporarilyRestricted {account_index: _} => Self::ProgramExecutionTemporarilyRestricted, + TransactionError::ProgramExecutionTemporarilyRestricted { account_index: _ } => { + Self::ProgramExecutionTemporarilyRestricted + } } } }