Skip to content

Commit

Permalink
[indirect-calls-executor/event_filter] better naming for test variable
Browse files Browse the repository at this point in the history
  • Loading branch information
clangenb committed Aug 14, 2023
1 parent a801e9d commit 2817a5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/parentchain/indirect-calls-executor/src/event_filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@ impl FilterEvents for MockEvents {
}

fn get_transfer_events(&self) -> Result<Vec<BalanceTransfer>> {
let xsfer = BalanceTransfer {
let transfer = BalanceTransfer {
to: [0u8; 32].into(),
from: [0u8; 32].into(),
amount: Balance::default(),
};
Ok(Vec::from([xsfer]))
Ok(Vec::from([transfer]))
}
}

0 comments on commit 2817a5f

Please sign in to comment.