Skip to content

Commit

Permalink
shorter path
Browse files Browse the repository at this point in the history
  • Loading branch information
segfault-magnet committed May 8, 2024
1 parent fe98859 commit 9f6c733
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions packages/fuels-core/src/types/tx_status.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,9 @@ impl From<ClientTransactionStatus> for TxStatus {
impl From<TransactionExecutionStatus> for TxStatus {
fn from(value: TransactionExecutionStatus) -> Self {
match value.result {
fuel_core_types::services::executor::TransactionExecutionResult::Success {
receipts,
..
} => Self::Success { receipts },
fuel_core_types::services::executor::TransactionExecutionResult::Failed {
result,
receipts,
..
TransactionExecutionResult::Success { receipts, .. } => Self::Success { receipts },
TransactionExecutionResult::Failed {
result, receipts, ..
} => {
let revert_id = result
.and_then(|result| match result {
Expand Down

0 comments on commit 9f6c733

Please sign in to comment.