Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
rasmus-kirk committed Sep 3, 2024
1 parent fd4ced2 commit 079f258
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/api/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -604,14 +604,14 @@ fn operations_and_metadata_from_account_transaction_details(
.enumerate()
.map(|(i, event)| match event {
BakerEvent::DelegationRemoved {
delegator_id
delegator_id,
} => normal_account_transaction_operation(
i as i64,
details,
None,
None,
Some(&DelegationRemovedMetadata {
delegator_id: *delegator_id
})
delegator_id: *delegator_id,
}),
),
BakerEvent::BakerAdded {
data,
Expand Down Expand Up @@ -768,14 +768,14 @@ fn operations_and_metadata_from_account_transaction_details(
.enumerate()
.map(|(i, event)| match event {
DelegationEvent::BakerRemoved {
baker_id
baker_id,
} => normal_account_transaction_operation(
i as i64,
details,
None,
Some(&BakerRemovedMetadata {
baker_id: *baker_id,
})
}),
),
DelegationEvent::DelegationAdded {
delegator_id,
Expand Down

0 comments on commit 079f258

Please sign in to comment.