Skip to content

Commit 6c39275

Browse files
committed
Support validator 1.17.2
1 parent cdf653c commit 6c39275

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/postgres_client/postgres_client_transaction.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,9 @@ impl From<&TransactionError> for DbTransactionErrorCode {
410410
}
411411
TransactionError::ResanitizationNeeded => Self::ResanitizationNeeded,
412412
TransactionError::UnbalancedTransaction => Self::UnbalancedTransaction,
413-
TransactionError::ProgramExecutionTemporarilyRestricted {account_index: _} => Self::ProgramExecutionTemporarilyRestricted,
413+
TransactionError::ProgramExecutionTemporarilyRestricted { account_index: _ } => {
414+
Self::ProgramExecutionTemporarilyRestricted
415+
}
414416
}
415417
}
416418
}

0 commit comments

Comments
 (0)