Skip to content

Commit

Permalink
fix: check-code error on concourse
Browse files Browse the repository at this point in the history
  • Loading branch information
thevaibhav-dixit committed Oct 13, 2023
1 parent 03edec7 commit 0121d24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ledger/src/ledger/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ impl SqlxLedger {
) -> Result<(), SqlxLedgerError> {
let tx_template = self.tx_templates.find_core(tx_template_code).await?;
let (new_tx, new_entries) =
tx_template.prep_tx(params.map(|p| p.into()).unwrap_or_else(TxParams::new))?;
tx_template.prep_tx(params.map(|p| p.into()).unwrap_or_default())?;
let (journal_id, tx_id) = self
.transactions
.create_in_tx(&mut tx, tx_id, new_tx)
Expand Down

0 comments on commit 0121d24

Please sign in to comment.