Skip to content

Commit 67c3365

Browse files
committed
tmp
1 parent 34466eb commit 67c3365

1 file changed

Lines changed: 10 additions & 12 deletions

File tree

crates/app-core/src/handlers/sign_tx/summary_collector.rs

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -371,18 +371,16 @@ mod tests {
371371
fn sample_test() {
372372
let mut collector = TxSummaryCollector::new();
373373

374-
collector
375-
.process_input(&TxInputWithAdditionalInfo::Utxo(
376-
mlcp::UtxoOutPoint::new(
377-
mlcp::OutPointSourceId::Transaction(mlcp::Id::new(mlcp::H256::zero())),
378-
0,
379-
),
380-
AdditionalUtxoInfo::Utxo(mlcp::TxOutput::Transfer(
381-
mlcp::OutputValue::Coin(mlcp::Amount::from_atoms(123)),
382-
mlcp::Destination::AnyoneCanSpend,
383-
)),
384-
))
385-
.unwrap();
374+
collector.process_input(&TxInputWithAdditionalInfo::Utxo(
375+
mlcp::UtxoOutPoint::new(
376+
mlcp::OutPointSourceId::Transaction(mlcp::Id::new(mlcp::H256::zero())),
377+
0,
378+
),
379+
AdditionalUtxoInfo::Utxo(mlcp::TxOutput::Transfer(
380+
mlcp::OutputValue::Coin(mlcp::Amount::from_atoms(123)),
381+
mlcp::Destination::AnyoneCanSpend,
382+
)),
383+
));
386384

387385
collector
388386
.process_output(&mlcp::TxOutput::Transfer(

0 commit comments

Comments
 (0)