Skip to content

Commit

Permalink
Fix execution function
Browse files Browse the repository at this point in the history
  • Loading branch information
0xOmarA committed Aug 2, 2023
1 parent bd361a9 commit 4bce99a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions radix-engine-toolkit-core/src/functions/execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,16 @@ pub fn analyze(
transferred: transfer,
},
)))
} else if let Some((from_account_address, transfers)) = transfer_visitor.output() {
}
if let Some((from_account_address, transfers)) = transfer_visitor.output() {
transaction_types.push(TransactionType::Transfer(Box::new(
TransferTransactionType {
from: from_account_address,
transfers,
},
)))
} else if let Some((
}
if let Some((
resource_preference_changes,
default_deposit_rule_changes,
authorized_depositors_changes,
Expand All @@ -96,8 +98,8 @@ pub fn analyze(
authorized_depositors_changes,
},
)))
} else if let Some((account_withdraws, account_deposits)) = general_transaction_visitor.output()
{
}
if let Some((account_withdraws, account_deposits)) = general_transaction_visitor.output() {
transaction_types.push(TransactionType::GeneralTransaction(Box::new(
GeneralTransactionType {
account_proofs: account_proofs_visitor.output(),
Expand Down

0 comments on commit 4bce99a

Please sign in to comment.